#990301 /usr/bin/identify-im6.q16: identify not following requested format for some gifs

Package:
imagemagick-6.q16
Source:
imagemagick
Description:
image manipulation programs -- quantum depth Q16
Submitter:
Brian May
Date:
2021-09-01 12:36:03 UTC
Severity:
important
#990301#5
Date:
2021-06-25 04:37:37 UTC
From:
To:
$ identify -format "%w:%h" file.gif
480:270480:270480:270480:270

I only requested the values once, but it gave them to me 4 times. Which
makes it kind of difficult to parse.

This only happens for this image file, but no idea what makes it
special. Looks like an ordinary gif file to me:

$ file file.gif
file.gif: GIF image data, version 89a, 480 x 270

$ ls -l file.gif
-rw------- 1 brian brian 140074 Jun 25 14:27 file.gif

I have attached the file to this report. At least I hope I did :-)

This is what I would expect to see:

$ identify -format "%w:%h"  /usr/share/tcltk/tk8.6/images/pwrdLogo150.gif
97:150

#990301#8
Date:
2021-09-01 12:34:11 UTC
From:
To:
your gif has four frames, so you get the width and height four times.

Maybe you only want to select the first frame? Try:

$ identify -format "%w:%h" 'file.gif[0]'
480:270

Thanks!

cheers, josch