convert RAW data to grayscale bitmap
-
I write a simple application for grabbing data from an special scanner. The data is RAW grayscale and I want to convert it to bitmap. The width and height of image is known. Is there any body can help me do this? Any suggestion, hint? Best regards, A. Riazi
-
I write a simple application for grabbing data from an special scanner. The data is RAW grayscale and I want to convert it to bitmap. The width and height of image is known. Is there any body can help me do this? Any suggestion, hint? Best regards, A. Riazi
-
I write a simple application for grabbing data from an special scanner. The data is RAW grayscale and I want to convert it to bitmap. The width and height of image is known. Is there any body can help me do this? Any suggestion, hint? Best regards, A. Riazi
A. Riazi wrote: The width and height of image is known. Didn't Heisenberg say that you can't know width and height of an image, and at the same time know the color depth? So, you're on an impossible mission there. A. Riazi wrote: Any suggestion, hint? For programming questions, use any other forum than The Lounge, and if you have to use The Soapbox, expect more of this but in a bit more explicit wording... "After all it's just text at the end of the day. - Colin Davies "For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
-
A. Riazi wrote: The width and height of image is known. Didn't Heisenberg say that you can't know width and height of an image, and at the same time know the color depth? So, you're on an impossible mission there. A. Riazi wrote: Any suggestion, hint? For programming questions, use any other forum than The Lounge, and if you have to use The Soapbox, expect more of this but in a bit more explicit wording... "After all it's just text at the end of the day. - Colin Davies "For example, when a VB programmer comes to my house, they may say 'does your pool need cleaning, sir ?' " - Christian Graus
The fact is I forgot to select the VC++ forum and when hit the submit button I press ESC to cancel it but may be I didn't succeed. However I posted this message to VC++ forum. And the BPP (bit per pixel) is 8 and I know the image is gray. I try to use CxImage but not succeed. The resulting image file can not be seen on ACDSee or other programs. Best regards, A. Riazi