Jmagick and rotating image.

Discussion in 'Java' started by bob, Feb 16, 2007.

  1. bob

    bob Guest

    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
    bob, Feb 16, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Veerle

    JMagick problem

    Veerle, Feb 3, 2004, in forum: Java
    Replies:
    3
    Views:
    4,255
    Peter Kirk
    Feb 6, 2004
  2. geovar var via JavaKB.com

    JMagick

    geovar var via JavaKB.com, Jan 3, 2005, in forum: Java
    Replies:
    0
    Views:
    737
    geovar var via JavaKB.com
    Jan 3, 2005
  3. bob
    Replies:
    0
    Views:
    618
  4. Christoph Burschka

    JMagick - setMonochrome()

    Christoph Burschka, Jul 10, 2007, in forum: Java
    Replies:
    1
    Views:
    535
    Christoph Burschka
    Jul 10, 2007
  5. macsw
    Replies:
    0
    Views:
    289
    macsw
    Jun 6, 2008
Loading...

Share This Page