[FX.php List] Creating thumbnail for TIFF uploads on the fly

Dale Bengston dbengston at preservationstudio.com
Sun Sep 30 19:59:40 MDT 2007


I'll throw my recommendation behind ImageMagick, which works great  
for modifying images on the fly.

I'm also using GhostScript to rip screen preview JPEGs of PDFs I  
create with FPDF (see previous thread on FPDF).

Dale

On Sep 30, 2007, at 7:19 PM, Michael Ward wrote:

> Hi Troy,
>
> On 01/10/2007, at 7:51 AM, Troy Meyers wrote:
>
>> I've set up a PHP page where customers can upload photos. On the  
>> confirmation page following the upload I show a thumbnail-sized  
>> version of the photo and some size and type statistics.
> <snip>
>> The thing I need is something to replace the line:
>> $image = imagecreatefromjpeg($source_filename);
>> ...that will read the TIFF file content into the $image variable.
>>
>> It'd be called "imagecreatefromtif" if it were built into PHP, I  
>> expect, but I can't see one. Any suggestions?
>>
>
> I'd do this using ImageMagick <http://www.imagemagick.org> with  
> MagickWand for PHP.
>
> This gives possibility of manipulating many image types on the fly  
> as they are uploaded.
>
> Regards
>
> Michael Ward
> --
> Head Honcho
> CustoMike Solutions
> Member, FileMaker Business Alliance
> Member, FileMaker Technical Network
> FileMaker 7 Certified Developer
> FileMaker 8 Certified Developer
> 10 Wandoo Crt
> Wheelers Hill, 3150
> ph 0414 562 501
> headhoncho at customikesolutions.com
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list