Page 1 of 1

Re: How to check for when EXIF = TIF but file extension = JPG

Posted: 2007-08-01T12:53:01-07:00
by Bonzo
If you are using php you could try modifying the code below.

Code: Select all

<?php
$sourcefile = 'flowers.jpg';
$answer_exif = system("exec identify -format \"%[EXIF:Make]\" $sourcefile");
$answer_exif = explode( " ", $answer_exif );
print "Camera make = ".$answer_exif[1];
?>