Re: Re: imagecreatetruecolor ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 14 November 2003 08:03, niclas meyer wrote:

> Thanks for ure time...It was a browser cache issue..I made my album on the
> fly finaly,  it does as i wanted in the end..
>
> make sure u have the latest PHP/GD support ..=)
> "Niclas Meyer" <niclas@xxxxxxxxxx> skrev i meddelandet
> news:20031113123215.62915.qmail@xxxxxxxxxxxxxxx
>
> > Hi all!
> > Iï trying to create a true color Jpeg thumbnail, I take a picture
> > (Jpg/jpeg) resized and copied -> inserted to database and a thumbnail is
> > saved in a diffrent folder BUT....the thumb looks wierd.
> >
> > It does NOT look like its made out of true color..lol
> > where do I go wrong?
> > =)
> >
> >
> >
> > //_-----------------------------------pic part of
> > function --------------------------
> >
> >      $tmp_img = imagecreatetruecolor($new_width, $new_height);
> >       imagecopyresized($tmp_img, $img, 0, 0, 0, 0, $new_width,

You most likely want to use imagecopyresampled() instead.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-db
------------------------------------------
/*
Ego sum ens omnipotens.
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux