Search found 1 match

by zhouyejoe
2011-08-04T07:34:25-07:00
Forum: Users
Topic: class image can not read PNG file
Replies: 0
Views: 3031

class image can not read PNG file

int imagecheck( const void * data, const unsigned long uilength ){
Blob blob( data, uilength );
Image orilImage;
try
{
orilImage.read(blob);
}
catch (std::exception& e)
{
....
}


I want to read a file from binary data in memory as to check whether it is a pic or not.
I finally succeed ...