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.

Recommended Answers

All 3 Replies

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.

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

You could put AJAX to work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.