View Issue Details

IDProjectCategoryView StatusLast Update
0000550fileGeneralpublic2024-08-16 18:30
Reporteri-rinat Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version5.45 
Summary0000550: JPEG width and height reported incorrectly if larger than 32767
DescriptionIf a JPEG image file have height larger than 32767 pixels, file utility reports its height as a negative number instead. The same goes for widths.
Steps To ReproduceFind or create a JPEG file with large enough height:
$ convert -size 8x42000 xc:blue large.jpg

Check what file utility says about the file:
$ file large.jpg
large.jpg: JPEG image data, JFIF standard 1.01, aspect ratio, density 1x1, segment length 16, baseline, precision 8, 8x-23536, components 3

Note that it prints -23536 instead of 42000.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-08-16 18:30 i-rinat New Issue