Change color depth of [Buffered]Image

Discussion in 'Java' started by Martin, Sep 17, 2004.

  1. Martin

    Martin Guest

    Hello,
    I want to change the color depth of a given image (gif, jpg, png)
    with the help of the Java API, so no extra libraries (if possible).
    If you suggest using IndexColorModel then I would need your help
    too - I don't know how to build r[] g[] b[] values which the
    constructor needs - like values needed for 8b, 16b etc.
    Any other suggestions appreciated.

    Thanks in advance,
    Martin
    Martin, Sep 17, 2004
    #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. tochaotic4u
    Replies:
    2
    Views:
    4,038
    tochaotic4u
    Jul 3, 2003
  2. Duke the Coward
    Replies:
    3
    Views:
    1,492
    Jeffrey Silverman
    Dec 6, 2004
  3. Replies:
    9
    Views:
    663
    Michael Wojcik
    Aug 23, 2005
  4. Ex1991

    Image to Buffered Image?

    Ex1991, Mar 25, 2009, in forum: Java
    Replies:
    0
    Views:
    362
    Ex1991
    Mar 25, 2009
  5. Kamaljeet Saini
    Replies:
    0
    Views:
    385
    Kamaljeet Saini
    Feb 13, 2009
Loading...

Share This Page