php question
Posted: 2008-04-02T07:35:40-07:00
I am building an application for viewing 60,000+ images. These images are all stored as tiffs. What I would like to do is in my application, someone uses a form to select whatever image they wish to view, and I would like to run a php script that would convert the tiff to jpeg and resize it to thumbnail size and echo the jpeg out to the viewer.
In other words, I want to load the tiff in memory, convert and resize in memory, and echo out the result, without writing anything to the original image. I am somewhat new to php and I would appreciate any help you can provide. Thank you.
In other words, I want to load the tiff in memory, convert and resize in memory, and echo out the result, without writing anything to the original image. I am somewhat new to php and I would appreciate any help you can provide. Thank you.