File: exampleWriter.php

Recommend this page to a friend!
  Classes of Vinay Yadav  >  phpExifRW  >  exampleWriter.php  >  Download  
File: exampleWriter.php
Role: Example script
Content type: text/plain
Description: Writing Example
Class: phpExifRW
EXIF information reader and writer
Author: By
Last change:
Date: 16 years ago
Size: 584 bytes


Class file image Download



/** Create an object */
$er = new phpExifWriter($filename);

$er->debug = true;

 * Show current Image info
echo "<pre>";

$time = $er->getDiffTime();
"<br>Reading done in $time seconds";

 * Add comments to the file
$er->addComment("This is the commentss");

 * Write back the content to a file

 * Show total time taken
$time = $er->getDiffTime();
"<br>Writing done in $time seconds";


For more information send a message to info at phpclasses dot org.