|
Posted by ralphNOSPAM on 09/28/05 17:50
On 28 Sep 2005 00:58:43 -0700, "chotiwallah" <chotiwallah@web.de>
wrote:
>
>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
The files are 25k to 50k so they are not that big. I came across a
class php script called ImageEditor.php and it works great at resizing
images as well as having many other features - so I am using that.
[Back to original message]
|