|
Posted by chotiwallah on 09/28/05 10:58
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
Navigation:
[Reply to this message]
|