[magick-users] having a problem with rotation (transparent bg)
after upgrade
Anthony Thyssen
anthony at griffith.edu.au
Mon Nov 26 22:46:17 PST 2007
Stas Bekman on wrote...
| Hi,
|
| ImageMagick used to make a smooth image rotation before. Now I've
| upgraded to the latest version 6.3.7 (same issue with 6.3.2), and now
| the rotation leaves a jiggy outline
|
| Here is the input file:
|
| in.jpg
| http://img2.freeimagehosting.net/image.php?b7174eb966.jpg
|
| I run:
| convert -rotate 5 -background "transparent" in.jpg out.jpg
|
| here is the output:
| http://img2.freeimagehosting.net/image.php?007de57566.jpg
|
| can you see the border being all messed up now?
|
Try ordering the arguments right...
Also make sure the image has a alpha channel
convert in.jpg -matte -background "transparent" -rotate 5 out.jpg
| I need to use transparent background since the image is going to be
| composited on top of other images.
|
| Is there some extra argument that I need to add now? (which I'd imagine
| used to be added by default in the past, but it's no longer the case)
|
See IM examples, Image rotation.
http://imagemagick.org/Usage/distorts/#rotate
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
"Around here we've got a name for people what talks to dragons."
"Traitor?" Wiz asked apprehensively.
"No. Lunch." -- Rick Cook, "Wizadry Consulted"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list