RSS/Atom feed Twitter
Site is read-only, email is disabled

More on tagging

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

More on tagging Rob Antonishen 10 Mar 21:36
  More on tagging Aurimas Juška 11 Mar 15:07
Rob Antonishen
2010-03-10 21:36:48 UTC (about 15 years ago)

More on tagging

Hi-

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?

-Rob A>

Aurimas Juška
2010-03-11 15:07:27 UTC (about 15 years ago)

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