Posted by Bob Bedford on 06/29/07 21:26
"Richard" <root@localhost> a ιcrit dans le message de news:
46853375$0$22359$dbd45001@news.euronet.nl...
>
> "Bob Bedford" <bob@bedford.com> wrote in message
> news:4684e4db$0$3784$5402220f@news.sunrise.ch...
>> Hi all,
>>
>> I've to resize uploaded images with the "imagecopyresampled" but when
>> I've images quite large (common those days) I reach the 16mb limits of
>> the ISP.
>>
>> How can I fix this ? I absolutely need to resize such images.
>>
>> Bob
>
> Hi Bob,
>
> maybe you can resize them first to an intermediate size using
> 'imagecopyresized', hoping that resizing takes up less memory than
> resampled.
>
> Richard
>
The memory limit is reached when "loading" the pixels in memory before
resizing so this solution won't work
[Back to original message]
|