Re: Image Resize with LibGD

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

 



On 5/8/07, Christian Haensel <php@xxxxxxxxx> wrote:
Now, let's say I have a small image and would like to stretch it by 50 to
100% of its original size... I know there will be a loss of quality. But
maybe someone out there has had to deal with the same before and knows the
best way to do that?

Create a new image resource with imagecreatetruecolor(); then copy
your source image into it using imagecopyresampled(), adjusting your
size to whatever you need.


--
Greg Donald
http://destiney.com/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux