plug-ins: Add loop count to GIF parasite

In ccd12318, the parasite to remember if the GIF was an animation
did not actually store the number of loops. This patch fixes that.
This commit is contained in:
Alx Sa 2023-11-17 21:07:05 +00:00
parent 27e13924ea
commit 5e076c2803
1 changed files with 1 additions and 0 deletions

View File

@ -600,6 +600,7 @@ load_image (GFile *file,
GimpParasite *parasite;
gchar *str;
str = g_strdup_printf ("%d", Gif89.num_loops);
parasite = gimp_parasite_new ("gif/animated",
GIMP_PARASITE_PERSISTENT,
strlen (str) + 1,