@kkkkkkkk wrote:
I receive some Images from a database that returns them as:
const unsigned char* buffer[];
unsigned int saved_size;The images are png 320x240; RGB
and the size that is returned is 105791
I am trying to make them back into an ofImage;
The images are uploaded to the database after saving them with standard ofSaveImage()
ofSaveImage(vidGrab->getPixels(), ofToDataPath(project_directories.GENERAL_SETTINGS+"/GRAB.png"));
is it possible to turn it back into an image?
Posts: 2
Participants: 1