Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Change color depth of [Buffered]Image

Thread Tools

Change color depth of [Buffered]Image

Posts: n/a
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,
Reply With Quote

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
Changing font color from current font color to black color Kamaljeet Saini Ruby 0 02-13-2009 04:58 PM
Digital P&S and color bit depth AAvK Digital Photography 38 10-31-2006 06:04 AM
How you can design your site with a minimum of screen and color depth programs. Duke the Coward HTML 3 12-06-2004 04:45 PM
Loss of Color Depth (Copy / Paste from Word Image) John R. Baker Computer Support 4 11-17-2004 07:01 PM
Color Depth and Repro from digicam vs film Chris P in PA Digital Photography 5 12-31-2003 12:03 AM