kylemcdonald / ofxEdsdk

Interfacing with Canon cameras from openFrameworks for OSX. An alternative to ofxCanon and CanonCameraWrapper.
Other
111 stars 51 forks source link

camera.drawPhoto not working in the example #14

Closed ovicin closed 9 years ago

ovicin commented 10 years ago

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 captura de pantalla 2013-09-20 a la s 07 27 16

I used EDSDK v2130 on Mountain Lion