Quote:
Originally Posted by RufflesRidge
Try saving as PNG or BMP instead of JPEG.
|
Do you mean binImage->Write("/convexImage.bmp")? I saw the other thread suggesting that. So I was assuming that the Write function is writing the file in BMP or PNG file format. So at one point, I renamed the convexImage.jpg to convexImage.bmp and tried to open it that way. It was still black. However, I did not try doing binImage->Write("/convexImage.bmp") in the code. May be I should try that in case the ImaqWriteFile function actually looks at the file extension and decided to do something different.