aspose file tools*
The moose likes Java in General and the fly likes Need conversion mechanism for converting 24 bit image to 16 bit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need conversion mechanism for converting 24 bit image to 16 bit" Watch "Need conversion mechanism for converting 24 bit image to 16 bit" New topic
Author

Need conversion mechanism for converting 24 bit image to 16 bit

jai balu
Greenhorn

Joined: Sep 04, 2008
Posts: 1

In my java project I need to convert 24 bit image to 16 bit image. I don't have any clue. Please provide me the option to implement it.

Thanks,
jai
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
You first need to find out what is meant by "16 bit image". A "24 bit" image generally means 8 bits of red, 8 bits of green and 8 bits of blue. For 16 bit, there's no such widely used scheme; see http://en.wikipedia.org/wiki/Color_depth#HighColor for some of the possibilities. You probably want the "5650" scheme, but it really depends on why the conversion is done; what do you know about that?

Also, what are the input and output file formats?


Ping & DNS - updated with new look and Ping home screen widget
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

BeForthrightWhenCrossPostingToOtherSites
http://forums.oracle.com/forums/thread.jspa?threadID=1518066


luck, db
There are no new questions, but there may be new answers.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36599
    
  16
And welcome to the Ranch
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4523
    
    5

Another cross post
http://www.java-forums.org/new-java/33114-need-conversion-mechanism-converting-24-bit-image-16-bit.html
 
 
subject: Need conversion mechanism for converting 24 bit image to 16 bit
 
Similar Threads
change bit-depth of image
Extracting Pixel Data From Fonts
Structure Size
Why did it have to be PNG
Creating an Image by Plotting Pixels?