Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need conversion mechanism for converting 24 bit image to 16 bit

 
jai balu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5149
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BeForthrightWhenCrossPostingToOtherSites
http://forums.oracle.com/forums/thread.jspa?threadID=1518066
 
Campbell Ritchie
Sheriff
Posts: 51405
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
Darryl Burke
Bartender
Posts: 5149
11
Java Netbeans IDE Opera
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic