Removing metadata for animated GIF creates non-animated GIF

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
tonifelfe
Posts: 6
Joined: Wed Jun 20, 2007 9:38 am

Removing metadata for animated GIF creates non-animated GIF

Post by tonifelfe » Fri Sep 11, 2020 7:52 pm

Not sure whether this is a bug or a feature - but a bad surprise!

mudo_j
Posts: 19
Joined: Fri Feb 17, 2017 7:01 pm

Re: Removing metadata for animated GIF creates non-animated GIF

Post by mudo_j » Mon Sep 14, 2020 2:51 pm

Here are the metadata from a random animated gif, via ExifTool:

Code: Select all

---- GIF ----
GIF Version                     : 89a
Image Width                     : 400
Image Height                    : 206
Has Color Map                   : Yes
Color Resolution Depth          : 8
Bits Per Pixel                  : 7
Background Color                : 127
Animation Iterations            : Infinite
Frame Count                     : 56
Duration                        : 2.24 s
I believe without these instructions one can not expect the image viewer to be able to display the animation.

tonifelfe
Posts: 6
Joined: Wed Jun 20, 2007 9:38 am

Re: Removing metadata for animated GIF creates non-animated GIF

Post by tonifelfe » Tue Sep 15, 2020 5:43 am

I understand. BUT: the GIF is after the operation smaller than before - i assume it contains only frame 1. That means that not only metadata were removed but frames 2+ too. And this is not a wanted behaviour.

mudo_j
Posts: 19
Joined: Fri Feb 17, 2017 7:01 pm

Re: Removing metadata for animated GIF creates non-animated GIF

Post by mudo_j » Tue Sep 15, 2020 2:13 pm

Sorry for my useless answer.

If I my asks, how did you delete metadata from the animated gif, using XnViewMP?

tonifelfe
Posts: 6
Joined: Wed Jun 20, 2007 9:38 am

Re: Removing metadata for animated GIF creates non-animated GIF

Post by tonifelfe » Wed Sep 16, 2020 7:26 am

Tools - Batch convert - Actions: Clean meta data - all checkboxes activated

mudo_j
Posts: 19
Joined: Fri Feb 17, 2017 7:01 pm

Re: Removing metadata for animated GIF creates non-animated GIF

Post by mudo_j » Wed Sep 16, 2020 11:10 am

This way, I can't get a working animation, even without cleaning anything.

tonifelfe
Posts: 6
Joined: Wed Jun 20, 2007 9:38 am

Re: Removing metadata for animated GIF creates non-animated GIF

Post by tonifelfe » Wed Sep 16, 2020 11:32 am

Right. As a workaround i will exclude GIF files from my workstream. A better solution would work with animated GIFs correctly.

Post Reply