[nycphp-talk] Resample Image on the Fly

Rob Marscher rmarscher at
Mon Jan 29 13:10:00 EST 2007

Why do you want to avoid storing the thumbnails on the disk?  Resampling 
the image usually involves uncompressing it into an image resource which 
can be pretty memory intensive if you have to do it for multiple images 
on every page request.


Randal Rust wrote:
> On 1/29/07, Ken Robinson <kenrbnsn at> wrote:
>> If that is not the case, there are image resampling functions in the
>> GD package. Take a look at the imagecopyresampled() function
>> <>.
> That is what I was hoping to avoid.

More information about the talk mailing list