Reply to Re: imagecopyresampled() Help Needed

Your name:

Reply:


Posted by Tom Scales on 09/28/05 20:38

"chotiwallah" <chotiwallah@web.de> wrote in message
news:1127894323.027751.119330@o13g2000cwo.googlegroups.com...
>
> Tom Scales wrote:
>> "Janwillem Borleffs" <jw@jwscripts.com> wrote in message
>> news:43399eff$0$97550$dbd4d001@news.euronet.nl...
>> > Janwillem Borleffs wrote:
>> >> header("Content-Type: image/jpeg");
>> >> imagejpeg($image_p, null, 100);
>> >>
>> >
>> > That should be:
>> >
>> > header("Content-Type: image/jpeg");
>> > imagejpeg($image_p, '', 100);
>> >
>> >
>> > JW
>> >
>> >
>> >
>>
>> I just use:
>>
>> imagejpeg($image_p);
>>
>> For a browser, there is no need to specify quality. Just let it default.
>> 100 is overkill for a browser anyway.
>>
>> Tom
>
> another tought: how big are your images? php runs out of memory pretty
> quickly if you use truecolor images.
>
> micha
>

Really? I use images in the 75-150K range and have no problems. I load 20
per page and resize them dynamically to thumbnails.

[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

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация