Commit Graph

4 Commits

Author SHA1 Message Date
a822603807 plug-ins: port the GIF plug-in's UI file to GTK+ 3.x
and clean it up so things are properly packed again.
2018-12-05 12:35:02 +01:00
e83383c320 Bug 777589 - explains GIF animation's minimum framerate.
Though we display the frame delay as milliseconds, it is actually stored
as unsigned centiseconds in GIF. This means that displaying milliseconds
can be misleading since we round every value to tens and it also means
that 10ms is the lower delay allowed. This limitation is in the GIF
format.
Other animation formats may not have this limitation and we try and keep
consistent export UIs. Also the layer tagging for animation uses "ms"
syntax. So I just keep the delay entry as ms, but sets a lower allowed
value and makes it "snaps to ticks" (i.e. snaps to 10 ms increments).
Finally I add a tooltip to the field saying "GIF supports hundredths of
a second precision."
Hopefully this should make things clearer and not mislead people about
what the GIF format allows.
2017-01-23 19:38:42 +01:00
7cdd99feac Bug 596427 - Can't export to animated GIF
Add an 'As Animation' toggle to the GIF export options. If checked,
the GIF will be written as an animation. Only enable it on images with
more than on layer though. Add the new GIFSaveVals as_animation member
last so we don't break gimp_get_data() of old data. The fix moves the
GIF options fetching to *before* gimp_export_image(). If as-animation,
we simply pass GIMP_EXPORT_CAN_HANDLE_LAYERS to capabilities so the
layers are kept.
2010-02-16 20:02:57 +01:00
5c154c17dc plug-ins: Port file-gif-save.c to Glade + GtkBuilder 2010-02-16 20:02:56 +01:00