problem in jmagick with transparency and rotation

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
djmon84
Posts: 8
Joined: 2010-04-05T04:55:59-07:00
Authentication code: 8675308

problem in jmagick with transparency and rotation

Post by djmon84 »

Hello!

First, sorry for my english!
I'm working with Imagemagick 6.2.9 and netbeans with jmagick.
I have a problem when i combine 2 images.
When the top image to combine has rotation, the background is white, instead of transparent!

this is the result:
http://www.foticos.com/foticos2/img/001.jpg

What should i do?

Thanks
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: problem in jmagick with transparency and rotation

Post by Bonzo »

I know nothing about jmagick but I would add a -background none if using it in my codes before the rotate command.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: problem in jmagick with transparency and rotation

Post by snibgo »

JPEG doesn't support transparency. Try saving as a PNG instead.
snibgo's IM pages: im.snibgo.com
Post Reply