More on tagging
Forums ► For GIMP developers (read-only) ► More on tagging
-
Rob Antonishen
(almost 2 years ago)
- Aurimas Juška (almost 2 years ago)
Sent: 2010-03-10 21:36:48 UTC (almost 2 years ago)
From: Rob Antonishen
More on tagging
Hi-
I found this old thread:
http://lists.freedesktop.org/archives/create/2009-February/001578.htmlThat talks about tagging. I've also looked at the source, and am not
able to locate how the checksum is calculated. It does not appear to
be a md5sum of the actual resource file. How is it calculated?-Rob A>
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Sent: 2010-03-11 15:07:27 UTC (almost 2 years ago)
From: Aurimas Juška
More on tagging
Hi,
On Wed, Mar 10, 2010 at 10:36 PM, Rob Antonishen
wrote:
> I found this old thread:
> http://lists.freedesktop.org/archives/create/2009-February/001578.html
>
> That talks about tagging. I've also looked at the source, and am not
> able to locate how the checksum is calculated. It does not appear to
> be a md5sum of the actual resource file. How is it calculated?The md5 checksum is calculated after object is loaded. Each tagged
object implements GimpTaggedInterface, including method get_checksum
(). Therefore, its internal data is used to calculate the checksum,
which means different implementation for each resource type.For resource sharing it might be better to calculate md5 checksum on
raw file data. However, not all resources are physical files, for
example, generated brushes.There has been some effort to create a common tag storage format, see
http://create.freedesktop.org/wiki/ResourceTagging . It would be used
by graphic applications for tag storage and put in resource packages.There are some ideas, that resources and tags could be shared among
graphic applications. However, there is only discussion where shared
tags and resources could be put, not how some applications access
shared tag list concurrently.There are quite a few things to decide before something can be
actually implemented.Regards,
Aurimas_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer



