I believe that image files on the Mac platform contain metadata that does in
fact include this information. Sherlock on Mac OS 9 is not capable of
finding this information. However, I did find the following information for
Adobe Photoshop 7 for Mac OS X on how you can achieve this. I don't know if
Adobe Photoshop 7 for Windows can do this.

From: http://www.apple.com/macosx/applications/photoshop/

You have thousands of digital pictures and graphics stored on your hard
disk. Wouldn¹t it be cool to be able to verify what¹s in an image file
before you click on it? Adobe thought so too, which is why the new File
Browser in Photoshop 7.0 lets you do just that. The File Browser lets you
view your thumbnails and image metadata ‹ like color profile, date modified,
and the Exchangeable Image File (EXIF) information generated by digital
cameras ‹ to make sure the images are what you¹re looking for before you
open them. As an added convenience, Photoshop lets you add ranking to your
file criteria. You can have your own ranking system for identifying images
with, for example, rankings such as ³Proof² and ³Final.² You can also sort
images by file name, file width and height, file size, file type,
resolution, color profile, date created, date modified and copyright. The
File Browser also gives you the added advantage of being able to search for
images visually rather than just by file name.

Eric C. Pollitt, Founder
401 E. Illinois Ave.
Peoria, IL 61603
Global Hemp - Portal to the hemp community

"Prohibition will work great injury to the cause of temperance. It is a
species of intemperance within itself, for it goes beyond the bounds of
reason in that it attempts to control a man's appetite by legislation, and
makes a crime out of things that are not crimes.  A Prohibition law strikes
a blow at the very principles upon which our government was founded."

Abraham Lincoln in a speech to the Illinois House of
Representatives on December 18, 1840.

> From: "Jome" <[EMAIL PROTECTED]>
> Date: Wed, 18 Sep 2002 14:10:58 +0200
> Subject: [PHP] Re: Image resolution and php
>> I need to get resolution information (dpi) from any
>> image of jpg, gif or png formats.
>> It would be sufficient to obtain pixel and inches
>> dimension of such images and calculate resolution by
>> simply dividing but I haven't found any function that
>> gets effective dimensions in inches.
> http://www.php.net/manual/en/function.getimagesize.php
> I'm sligthly confused about what you're looking for, but the above URL
> *could* be something.
> Jome
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to