View Issue Details

IDProjectCategoryView StatusLast Update
0000646fileGeneralpublic2025-04-24 08:48
Reporterexpeedo Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformx86_64OSopenSUSE LeapOS Version15.6
Product Version5.46 
Summary0000646: WEBP image dimensions reported as additions on some images
DescriptionThe attached WEBP image has a width of 1920 and a height of 200 pixels.

Beginning with file 5.46, a dimension is reported on this image file. Earlier versions did not report any dimension info.

The dimension reported isn't following the syntax convention of "[width]x[height]" though, but instead outputs both width & height as additions: "1919+1x199+1"

As file / libmagic is the fastest tool to exctract image type & dimensions, this is tried first by our systems. Decoding the dimension output then leads to the system assuming a dimension has been detected, but extracting wrong values for width & height.
Steps To Reproduce> file bugtest.webp
bugtest.webp: RIFF (little-endian) data, Web/P image, EXIF metadata, 1919+1x199+1
Additional Information> identify bugtest.webp
bugtest.webp WEBP 1920x200 1920x200+0+0 8-bit sRGB 79934B 0.000u 0:00.000

> exiftool bugtest.webp
Image Width : 1920
Image Height : 200
Image Size : 1920x200

> exiv2 bugtest.webp
Image size : 1920 x 200
Tagsdimension, webp

Activities

expeedo

2025-04-24 08:31

reporter  

bugtest.webp (79,934 bytes)   
bugtest.webp (79,934 bytes)   

expeedo

2025-04-24 08:48

reporter   ~0004211

Another image with the same issue:

> file bugtest2.webp
bugtest2.webp: RIFF (little-endian) data, Web/P image, with alpha, 299+1x299+1
bugtest2.webp (5,042 bytes)   
bugtest2.webp (5,042 bytes)   

Issue History

Date Modified Username Field Change
2025-04-24 08:31 expeedo New Issue
2025-04-24 08:31 expeedo Tag Attached: dimension
2025-04-24 08:31 expeedo Tag Attached: webp
2025-04-24 08:31 expeedo File Added: bugtest.webp
2025-04-24 08:48 expeedo Note Added: 0004211
2025-04-24 08:48 expeedo File Added: bugtest2.webp