Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Jmagick and rotating image.

Reply
Thread Tools

Jmagick and rotating image.

 
 
bob
Guest
Posts: n/a
 
      02-16-2007
Hello,

I am using Jmagick to manupulate and rotate images. When I rotate an
image, it gets a white color where no image is standing (in the
corners). I already tried with convertImg.setBackgroundColor( new
PixelPacket(100,50,100,200) ); but the whitespaces stay... ...white. I
need to have those areas transparent. I am using
imgInfo.setColorspace( ColorspaceType.TransparentColorspace ); so it
must be possible. can annyone help me with this?

When using imagemagick commandline I get what I need by using -
background none -rotate 10

I hope someone can help me.
thanks,
Erik

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Plug-in ImageWriter Jpeg with JMagick macsw Java 0 06-06-2008 04:24 PM
JMagick - setMonochrome() Christoph Burschka Java 1 07-10-2007 12:49 PM
Jmagick and rotating image. bob Java 0 02-16-2007 11:45 AM
JMagick geovar var via JavaKB.com Java 0 01-03-2005 01:53 PM
JMagick problem Veerle Java 3 02-06-2004 08:01 AM



Advertisments