Image Info (EXIF)
Posted by 7Shadows • 882 Views • 8 Replies • FacebookTwitter
Posted by 7Shadows • 882 Views • 8 Replies • FacebookTwitter
any demo of this, maybe? ;/
Jul 3rd, 2007Cool !
I never saw this before :p
Like "Image info" there : http://www.shadowness.com/photo/2076
:P
yea it's pretty much a hidden function that comes with PHP!
Jul 3rd, 2007PHP is godness!
it is possible to read JPG copyright information that has been written with photoshop ? That would be OWNAGE !
if it's in EXIF, then yes. there are softwares that let you keep exif, even edit it... I think there's an option in PS... not sure.
Jul 3rd, 2007oh right, lmao. >.<
Jul 4th, 2007
I was asked how I got the EXIF information from photos and images. Here's how:
Jul 3rd, 2007# Do a print_r of EXIF on a given image
$exif = exif_read_data($_PATH_TO_YOUR_IMAGE);
print_r($exif);
Once you exif_read_data, it gives you an array of all the image information. Then, you'll just echo selected information one by one. (IE: $exif['Width'])
Voila!