NYCPHP Meetup

NYPHP.org

[nycphp-talk] Resample Image on the Fly

Randal Rust randalrust at gmail.com
Mon Jan 29 08:21:28 EST 2007


I need to find out if I can resample an image and also resample it
using the GD Library. I don't seem to find anything that does it
without creating and storing a thumbnail from the original image.

Right now, I get an image and use getimagesize() to create new values
for the height and width attributes. But that leaves an image that is
less than perfect.

I'd rather not store thumbnails of the images if I can avoid it, but
maybe I can't.

TIA.

-- 
Randal Rust
R.Squared Communications
www.r2communications.com



More information about the talk mailing list