Support ImageMagick for the Define Canvas preset
will_in_wi - April 16, 2009 - 15:30
| Project: | Imagecache Actions |
| Version: | 6.x-1.x-dev |
| Component: | Canvas Actions Module |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I need imagemagick support for this preset. I have a series of presets where I scale the image, increase the size of the canvas, insert an underlay, and rotate -7 degrees. GD does a horrible job of rotation. It is unusable.
I know that this area of support is user contributed, so I will do my best to create a patch.

#1
GD rotation is indeed horrid.
imagemagic support for this process should be trivial - for someone who can get through the GD docs.
I spent two hours just trying to get the watermark overlay to do alpha transparency in imagemagick (failed). - this is apparently due to my version (2008) - which just illustrates why I'm not personally trusting it as a utility for release to hosted web servers.
BUT imagemagick fans are incredibly welcome to add their patches to suppliment the GD versions. once you get it, it's only 3 lines long. I just don't know what the three lines are.
#2
PS.
Scale up x3 , rotate and scale down /3 again.
It helps my text to antialias better in GD. May do the same for rotation.