View Issue Details

IDProjectCategoryView StatusLast Update
0000550fileGeneralpublic2024-11-10 00:26
Reporteri-rinat Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.45 
Fixed in VersionHEAD 
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

christos

2024-11-10 00:26

manager   ~0004090

Fixed, thanks

Issue History

Date Modified Username Field Change
2024-08-16 18:30 i-rinat New Issue
2024-11-10 00:26 christos Assigned To => christos
2024-11-10 00:26 christos Status new => assigned
2024-11-10 00:26 christos Status assigned => resolved
2024-11-10 00:26 christos Resolution open => fixed
2024-11-10 00:26 christos Fixed in Version => HEAD
2024-11-10 00:26 christos Note Added: 0004090