Removing metadata for animated GIF creates non-animated GIF

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

Moderators: helmut, XnTriq, xnview, 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 »

Not sure whether this is a bug or a feature - but a bad surprise!
mudo_j
Posts: 60
Joined: Fri Feb 17, 2017 7:01 pm

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

Post by mudo_j »

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 »

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: 60
Joined: Fri Feb 17, 2017 7:01 pm

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

Post by mudo_j »

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 »

Tools - Batch convert - Actions: Clean meta data - all checkboxes activated
mudo_j
Posts: 60
Joined: Fri Feb 17, 2017 7:01 pm

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

Post by mudo_j »

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 »

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