In the draw method I uncommented the camers.drawPhoto call in order to see the captured photo and not the liveview, but when I make a new capture it just draws a white square.
The image file is save correctly by the camera.savePhoto(ofToString(ofGetFrameNum()) + ".jpg"); call so I think that the problem doesn´t comes from EDSDK and is just related to the camera.drawPhoto implementation.
Here is the change from the example code
void testApp::draw() {
//camera.draw(0, 0);
camera.drawPhoto(0, 0, 432, 288);
In the draw method I uncommented the camers.drawPhoto call in order to see the captured photo and not the liveview, but when I make a new capture it just draws a white square. The image file is save correctly by the camera.savePhoto(ofToString(ofGetFrameNum()) + ".jpg"); call so I think that the problem doesn´t comes from EDSDK and is just related to the camera.drawPhoto implementation.
Here is the change from the example code void testApp::draw() { //camera.draw(0, 0); camera.drawPhoto(0, 0, 432, 288);
And the screen capture
I used EDSDK v2130 on Mountain Lion