Question:
converting image in 16 bit?
shekhar v
2009-07-24 04:56:28 UTC
Actually Paul i m making a smartcard application and i having only a 4 kb smart card i have to store an image of peoples(Face) throught webcam
but i having the size only 1 kb thts y i m asking hw can i convert ant image in 32 to 16 bit pls give me some eg. thx
Three answers:
Paul
2009-07-24 07:56:52 UTC
If you want to write code to do this then it's a fairly simple conversion. Normally 32 bit RGB data is 8 bits each for R, G, B and alpha. 16 bits is 5 bits each for R, G, B and 1 bit for alpha. So you just right shift each R/G/B value by 3 bits and set the alpha bit to 0.
anonymous
2009-07-24 12:03:01 UTC
http://www.gimp.org/downloads/



download gimp, you can convert, resize and convert to other formats.



Its a free public license program.



A photoshop if you will with a few features missing, but it doesnt cost $250 either.. :D



There are also a number of only tools that you can use such as



http://www.getpaint.net



You will undoubtedly want to resample and reduce the size of the pic as well as reducing the color to 16bit in order to reach your 1kb limit. that is not a lot of space at all..



Start by converting to a 16bit .gif image, btw.



Good Luck,

Have Fun!



Oh, btw, in the future, if you want to respond to someones answers, instead of creating a new question, you can EDIT the original question and add additional details... :p
?
2009-07-24 12:07:23 UTC
www.paint.net



Then save it as FileNameHere.png , and a little window should come up, letting you choose for 32bit 16bit etc


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...