NYCPHP Meetup

NYPHP.org

[nycphp-talk] Resample Image on the Fly

Rob Marscher rmarscher at beaffinitive.com
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.

-Rob

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



More information about the talk mailing list