Advantages: ImageMagick versus GD Advantages: ImageMagick versus GD
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Advantages: ImageMagick versus GD

Started by anna.y, July 21, 2006, 06:25:15 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

anna.y

Are there any advantages for using GD or ImageMagick with Coppermine.  Which one is better to use if both are available?

Anna

Joachim Müller

GD is easier to set up, as it comes bundled with PHP, wheras ImageMagick needs to be set up. If you both have them up-and-running, then go for ImageMagick, as it has a sightly better performance and support for more image formats.
Main difference between the two is the way batch-add is being done: when using GD, one pic after the other is processed, which is good in terms of server load. Drawback is that you might have issues resizing larger pics (both in terms of dimensions and filesize), as you're limited by the memory assigned to PHP. ImageMagick on the other hand is quite resources-hungry, and it will start a separate process for each pic that needs to be resized during batch-add, which can bring the server down.
Bottom line: both have advantages and disadvantages. Your choice. If the server is yours to administer and you know what you're doing, go for ImageMagick. Won't hurt to test both, you can change the library at any time (Coppermine's config => method for resizing pics).

However, you shouldn't set up cpg1.3.x when starting from scratch, but use the most recent version (currently cpg1.4.8).

anna.y

Thank you Joachim, I don't administer the server, however my web-host just installed Imagemagick in addition to GD which was already there.

Quote...and you know what you're doing...
does it mean that it can be installed and/or configured the wrong way?

Cpg1.3.x? Yes, I know, I'll be upgrading my Coppermine, and integration with Joomla & SMF all to new versions in the next week or two... lol...  wish me luck...

Thank you again

Anna

Joachim Müller

Stick with GD then, as the differences are only subtle.