Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Advantages: ImageMagick versus GD  (Read 22357 times)

0 Members and 1 Guest are viewing this topic.

anna.y

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
    • Toronto German Shepherd Dog Rescue
Advantages: ImageMagick versus GD
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Advantages: ImageMagick versus GD
« Reply #1 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).
Logged

anna.y

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 29
    • Toronto German Shepherd Dog Rescue
Re: Advantages: ImageMagick versus GD
« Reply #2 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Advantages: ImageMagick versus GD
« Reply #3 on: July 22, 2006, 04:48:13 pm »

Stick with GD then, as the differences are only subtle.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.