Skip Menu |

This queue is for tickets about the Image-ExifTool CPAN distribution.

Report information
The Basics
Id: 18766
Status: rejected
Priority: 0/
Queue: Image-ExifTool

People
Owner: Nobody in particular
Requestors: prosa [...] pro.sk
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 6.00
Fixed in: (no value)



Subject: EXIFTOOL and Photoshop EPS - Resolution Error
It seems there is an bug while recognising resolution in Photoshop EPS files. E.g. following files was recognised wrongly - I am sure in Photoshop there is 120 dots per cm resolution. It does not depend on Photoshop version (there are other files saved in PS 5.0 CZ which was recognised well). If you need anything other, do not hesitate to contact me. FreeBSD 5.4-p12 ExifTool installed from ports, p5-Image-ExifTool-6.00 Perl version 5.8.8 ======== /data/projekty/A/ABB/Obrazky/Imidzovky/kolaz_kanada.eps ExifTool Version Number : 6.00 File Name : kolaz_kanada.eps Directory : /data/projekty/A/ABB/Obrazky File Size : 2 MB File Modification Date/Time : 2000:12:13 08:48:54 File Type : PostScript MIME Type : application/postscript Subfile Type : Full-resolution Image Image Width : 512 Image Height : 359 Bits Per Sample : 8 Compression : Uncompressed Photometric Interpretation : RGB Palette Strip Offsets : 7948 Samples Per Pixel : 1 Rows Per Strip : 359 Strip Byte Counts : 183808 Min Sample Value : 0 Max Sample Value : 255 X Resolution : 23.703 Y Resolution : 23.703 Resolution Unit : cm Creator : Adobe Photoshop verze 5.0 CZ ======== /data/projekty/A/ABB/Obrazky/Imidzovky/AdvakidV.eps ExifTool Version Number : 6.00 File Name : AdvakidV.eps Directory : /data/projekty/A/ABB/Obrazky File Size : 2 MB File Modification Date/Time : 2000:12:13 08:44:00 File Type : PostScript MIME Type : application/postscript Subfile Type : Full-resolution Image Image Width : 380 Image Height : 512 Bits Per Sample : 8 Compression : Uncompressed Photometric Interpretation : RGB Palette Strip Offsets : 6228 Samples Per Pixel : 1 Rows Per Strip : 512 Strip Byte Counts : 194560 Min Sample Value : 0 Max Sample Value : 255 X Resolution : 45.1042 Y Resolution : 45.1042 Resolution Unit : inches Creator : Adobe Photoshop verze 5.0 CZ
The problem is likely that the resolution information is not consistent within the file. (This is FAQ number 2.) Try using the "-a -G1" options to see if there is different resolution information stored somewhere else in the file. Or if you could make a sample image available I could give you a more definitive answer.
From: prosa [...] pro.sk
On Ășt 18.dub.2006 07:23:41, EXIFTOOL wrote: Show quoted text
> The problem is likely that the resolution information is not > consistent within the file. (This is > FAQ number 2.) Try using the "-a -G1" options to see if there is > different resolution > information stored somewhere else in the file. Or if you could make > a sample image available I could give you a more definitive answer.
Many thanks, that was the "bug". I ran exiftool -a -G1 *.eps and it wrote: [IFD0] X Resolution : 23.703 [IFD0] Y Resolution : 23.703 [IFD0] Resolution Unit : cm [IPTC] Application Record Version : 2 [Photoshop] X Resolution : 304.8 [Photoshop] Displayed Units X : cm [Photoshop] Y Resolution : 304.8 [Photoshop] Displayed Units Y : cm [Photoshop] Global Angle : 120 [Photoshop] X Resolution : 304.8 [Photoshop] Displayed Units X : cm [Photoshop] Y Resolution : 304.8 Anyway, how could I read those [Photoshop] tags instead of standard, please? I need to feed data to database, so I use -s -s -s in my scripts to get only data part of the line or "-" if not available. Many thanks for the exiftool - it does much more, I ever hoped. I create an image cataloging system and I found information from exiftool (even thumbnails !!!) to be very usefull, REALLY QUICK and complex. Now it seems, I have to research even deeper... Best regards, Peter Rosa
You can read the Photoshop resolutions using the tag names 'Photoshop:XResolution' and 'Photoshop:YResolution'. Note that these Photoshop resolutions are always in inches. I'm glad you've found ExifTool useful. I should also mention that as of ExifTool version 6.00, you need to use '-f' to force '-' to be returned when '-s -s -s' is used and the tag doesn't exist. If you update to a recent version you may notice this change.