you can use libpng (google it) to read the png files and get the uncompressed image data. as an alternative to opencv, check out Intel® IPP - Open Source Computer Vision Library (OpenCV) FAQ | Intel®...