DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   Image Resolution (http://www.daniweb.com/forums/thread65882.html)

mahe4us Dec 28th, 2006 9:15 am
Image Resolution
 
Hi,

I have been working on image resizing feature such as zoom functionalities. If I increase the size of the picture then the clarity of the picture will go poor. Is there any idea for improve the pixel resolution while increas the size of the picture in php.

Thanks.

php_daemon Dec 28th, 2006 7:35 pm
Re: Image Resolution
 
If you're using GD library, try using imagecopyresampled() if you're not yet. It will not give you amazing results though. You'll need external software for the best results.

mahe4us Dec 29th, 2006 1:46 am
Re: Image Resolution
 
Hi php_daemon,

Thanks for your great reply. I have used the imagecopyresampled, but it is used to changed the picture size statically. i need to be change the size of the picture dynamically such as while pressing the zoomin button continously the picture size goes increasingly simultaneoulsy. Is there any possible idea for it?

Thanks

php_daemon Dec 29th, 2006 11:38 am
Re: Image Resolution
 
You could put AJAX to work.


All times are GMT -4. The time now is 3:34 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC