is it possible to replace the use of gd_lib with imagick or ImageMagick?

i'm looking around for a solution since weeks and can't make anything work yet. the problem is that my server is running debian/lenny and it's not supporting the bundled gd_lib which i need for thumbnailing/cropping stuff.

but i could make use of imagick or imagemagick (package vs plugin). my question is: is there any way to replace the gd functions in media.php with the ones from imagick? AND is there a smarter way then modiyfing the media.php to do so?

thanks

Solutions

Yes!

Orangelab has built a plugin which can replace WP's use of GD with Imagemagick (provided it's already installed on your server - it's not included) for creation of all image sizes and thumbs, and even regenerate existing images too!

For anyone who cares about image fidelity, this is huge deal, as GD does not handle color profile preservation or conversion (resulting in horrible desaturation), and also ends up softening any image it converts...

http://wordpress.org/extend/plugins/imagemagick-engine/

Similar questions

Fatal error: Uncaught Error: Class 'Imagick' not found in wordpress custom plugin
I am creating wordpress custom plugin and in that i will use 'imagick' class. Here are the sample code that is use in my custom plugin php file: but in that code i have an error like: Fatal error: Uncaught Error: Class 'Imagick' not found...
How proper enable extension=imagick.so on Google Cloud
I have a VM with Wordpress (click to deploy) on Google Cloud and need extension "ImageMagick". According to this article: https://cloud.google.com/appengine/docs/standard/php7/runtime#php-7.4-beta Dynamically loadable extensions The following extensions are dynamically loadable by configuring php.ini: Memcached, gRPC, protobuf, MongoDB, I...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy .