"Img Height" and "Img Width" return wrong value

Advanced Renamer forum
#1 : 21/12-17 06:27
VHarris
VHarris
Posts: 1
About 80% of the time <Img Height> and <Img Width> return the correct value for the .jpg image, but about 20% of the time, they return a much higher value for both.

In addition, when the Dimensions column is displayed in Advanced Renamer for the selected folder, the <Img Height> and <Img Width> also displays incorrectly in that column.

In File Explorer in Windows 10, the Height and Width and Dimensions columns all display the correct dimensions for these files.

Also, in the basic image editor program I use, the Height, Width and Dimensions also display correctly.

It seems that these high numbers only appear in Advanced Renamer.

Does anyone know what might be going on and how to fix the problem?

Thanks.


21/12-17 06:27 - edited 21/12-17 06:28
#2 : 02/02-18 06:56
Brian Hanlon
Brian Hanlon
Posts: 29
Reply to #1:
All 'JPG's are NOT equal! - There are JPG/JFIF, JPG/Exif, and several others. Many alternative File-Managers for example, will report dimensions as ?640? x ?480? where Windows Explorer proclaims 640 x 480. The ExifTool used by AR has a tendency to gag on some of those 'JPG's, as do the File-Managers. Unfortunately, the only way to avoid this is to open the offending file(s) and re-save, which can introduce detail losses.

Sorry that I can offer no real solution, only a bit of an explanation.

Brian.


02/02-18 06:56