NYCPHP Meetup

[nycphp-talk] Resample Image on the Fly

Dan Cech dcech at phpwerx.net
Mon Jan 29 09:34:25 EST 2007


Randal Rust wrote:
> 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.

Randal,

I'm not entirely sure what you're asking...can you give us a general
idea of what you're trying to achieve?

Dan



More information about the talk mailing list