Menu

Transparency

mnemonic
2007-07-16
2013-05-01
  • mnemonic

    mnemonic - 2007-07-16

    So JIU 0.14 does not fully support Alpha channel transparency.
    Is there a workaround, because I want to use the colour quantizer classes and still maintain alpha values.

     
    • Anonymous

      Anonymous - 2007-07-16

      "Not fully support" doesn't do it justice, there is no support for transparency information at all. And there won't be for the foreseeable future.

      You could try to load the image with Toolkit as a BufferedImage, convert it to a JIU image type, do quantizing there and convert the resulting JIU image back to a BufferedImage. Then you could copy over alpha values from the original image.

      Regards,
      Marco

       

Log in to post a comment.