You are here: Re: imagecopyresampled() Help Needed « PHP Programming Language « IT news, forums, messages
Re: imagecopyresampled() Help Needed

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]


Удаленная работа для программистов  •  Как заработать на 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

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