I want somehow to find the type of an image. To be more specific, I have a greyscale and an RGB image and I want to process this two images. But when I load the image I do not know the type of the reader that I must use. Must I use an RGB pointer or a greyscale pointer?<br>
I hope somebody could help me to solve this problem<br><br>Thanks in advance<br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>