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
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: 42950
    
  70
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?
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4664
    
    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: 40059
    
  28
And welcome to the Ranch
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4664
    
    5

Another cross post
http://www.java-forums.org/new-java/33114-need-conversion-mechanism-converting-24-bit-image-16-bit.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need conversion mechanism for converting 24 bit image to 16 bit