<embed width=75 height=75 src="image.tif" type="image/tiff" negative=yes>
Other Way to display is to convert image in PNG/JPG format using Imagick, in php
<?php
try
{
// Saving every page of a <strong>TIFF</strong> separately as a JPG thumbnail
$images = new Imagick("testing.tif");
foreach($images as $i=>$image) {
// Providing 0 forces thumbnail Image <strong>to</strong> maintain aspect ratio
$image->thumbnailImage(768,0);
$image->writeImage("page".$i.".jpg");
echo "<img src='page$i.jpg' alt='images' ></img>";
}
$images->clear();
}
catch(Exception $e)
{
echo $e->getMessage();
}
?>
No comments:
Post a Comment