Is there any specific way to convert jpeg images to black and white using C? I converted a .bmp image to black and white using C by simply extracting the headers (which in .bmp file is 54 bytes in length) and converting the RGB to the respective gray level using the formula.
But how to do that in jpeg file?
Is there any specific way to convert jpeg images to black and white using
Share
If you can afford to link a library, I highly recommend OpenCV for this task: http://opencv.willowgarage.com/