-
does anyone know how to convert a true color bufferedImage to a 256 bufferedImage?
Hi guys,
I was wondering if anyone could help me. 
I am trying to convert a bufferedImage from true color to 256. I managed to do this by using the graphic class but the problem with doing that is that the graphic class is a higher level java class so its really slow and speed is everything for the purpose of my program. Hence, does anyone know of another lower level method that could get the job done? Or, does anyone know how to mathematically round off the true color pixel to a 8-bit pixel?
my ultimate goal is to create a 256 png but there is no way to do that with the standard java library (as of my knowledge. ) so I opted to take the bufferedimage route.
Any suggestions or help would be greatly appreciated.
Thank you in advance,
-
perhaps having a look at the advanced imaging api of java can help:
http://java.sun.com/products/java-me...faq.html#10to8
Similar Threads
-
By Patrick Troughton in forum .NET
Replies: 361
Last Post: 10-01-2003, 12:00 AM
-
By Emma in forum VB Classic
Replies: 1
Last Post: 06-30-2003, 07:47 AM
-
By Michael Culley in forum .NET
Replies: 154
Last Post: 05-10-2002, 12:06 PM
-
By Ted Young in forum Database
Replies: 7
Last Post: 08-07-2001, 03:53 PM
-
Replies: 1
Last Post: 07-26-2001, 11:32 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|