If the camera is set to deliver RAW+JPEG as an image format, the further processing fails since the application gets only the raw file and tries to decode that.
As can be seen here https://github.com/gphoto/libgphoto2/issues/156 a second "wait_for_event" should be used after capture to grab the second file (which then will be the jpeg hopefully...)
If the camera is set to deliver RAW+JPEG as an image format, the further processing fails since the application gets only the raw file and tries to decode that.
As can be seen here https://github.com/gphoto/libgphoto2/issues/156 a second "wait_for_event" should be used after capture to grab the second file (which then will be the jpeg hopefully...)