|
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.
Navigation:
[Reply to this message]
|