forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: anna.y on July 21, 2006, 06:25:15 pm

Title: Advantages: ImageMagick versus GD
Post by: anna.y on July 21, 2006, 06:25:15 pm
Are there any advantages for using GD or ImageMagick with Coppermine.  Which one is better to use if both are available?

Anna
Title: Re: Advantages: ImageMagick versus GD
Post by: Joachim Müller on July 21, 2006, 07:49:39 pm
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).
Title: Re: Advantages: ImageMagick versus GD
Post by: anna.y on July 21, 2006, 10:26:08 pm
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
Title: Re: Advantages: ImageMagick versus GD
Post by: Joachim Müller on July 22, 2006, 04:48:13 pm
Stick with GD then, as the differences are only subtle.