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

finding time of layer's last modification

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.

finding time of layer's last modification Jeremy Cortner 07 Mar 18:01
  finding time of layer's last modification Sven Neumann 08 Mar 14:24
Jeremy Cortner
2003-03-07 18:01:28 UTC (about 21 years ago)

finding time of layer's last modification

I've written a plugin and at one point in it stores image file copies of each layer.
I don't want to (re)write files if the layer hasn't changed since the files modification date. (think make)

I'm trying to do this with perl-fu, possible?

Sven Neumann
2003-03-08 14:24:22 UTC (about 21 years ago)

finding time of layer's last modification

Hi,

Jeremy Cortner writes:

I've written a plugin and at one point in it stores image file copies of each layer.
I don't want to (re)write files if the layer hasn't changed since the files modification date. (think make)

I think the closest you can get is to use gimp_image_is_dirty:

http://developer.gimp.org/api/1.3/libgimp/libgimp-gimpimage.html#gimp-image-is-dirty

Please note that this function is not available in the GIMP-1.2 API.

Salut, Sven