Login   Register  
PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Vinay Yadav  >  phpExifRW  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Usage example script
Class: phpExifRW
EXIF information reader and writer
Author: By
Last change:
Date: 11 years ago
Size: 701 bytes


Class file image Download
 * Example script showing usage of phpExifRW class
 * Vinay Yadav (vinayRas) < vinay@sanisoft.com >
 * http://www.sanisoft.com/phpexifrw/
 * For more details on constants and methods look at the
 * documentation provided in doc/ folder

$filename "02280003.jpg";


$er = new phpExifRW($filename);

  * Process the JPEG image
  * Generate a Link to view thumbnail. 
  * showThumbnail.php files need to be in the same directory.
if($er->ThumbnailSize 0) {
"<br><img src='".$er->showThumbnail()."'>";
  * Show the image details along with Exif information.