Reply to Re: resize image and memory limits

Your name:

Reply:


Posted by Richard on 06/30/07 13:58

"Bob Bedford" <bob@bedford.com> wrote in message
news:4685790f$0$3782$5402220f@news.sunrise.ch...
>
> "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

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.

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация