"Bob Bedford" <bo*@bedford.comwrote in message
news:46**********************@news.sunrise.ch...
>
"Richard" <root@localhosta écrit dans le message de news:
46***********************@news.euronet.nl...
>>
"Bob Bedford" <bo*@bedford.comwrote in message
news:46**********************@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
Bob,
I dont know about that...
It should be possible to resize an image without loading it completely into
memory.
You just dont need the full image all the time.
Did you try it?
Also there are some upload java applets, that can do some resizing BEFORE
upload.
Maybe that way you can get things working?
If you really need to deal with images that large, then you are probably on
the wrong webhost.....
:(
Richard.