Page 1 of 1

imagecopyresampled question

Posted: Wed Aug 11, 2004 10:11 am
by wizzard
Hello,

Is it possible with this function imagecopyresampled to resample an image without saving it? I need this to cut out a part to show in the thumbnails like 200px on 200px

Posted: Wed Aug 11, 2004 10:55 am
by pickle
I believe so. When you call imagecopyresampled, it just takes the data from one image resource (not necessarily a file), and copies the requested pixels to another image resource (again, not necessarily a file).

Posted: Wed Aug 11, 2004 11:06 am
by wizzard
Thanks for the answer.