From: Marcus M. <mei...@su...> - 2013-01-26 15:33:50
|
On Sat, Jan 26, 2013 at 07:22:09AM -0800, stevearduino wrote: > Hi, > > As mentioned here gphoto should (it does with my Nikon D70s) download both > RAW and JPEG in tethered mode. However, what I want is exactly what the > topicstarter describes (as a bug): I only want to have gphoto download the > jpeg, not the NEF (Nikon RAW) file (it takes too long to transfer over USB). > Is that possible at all, or could this be implemented as a new feature? Generally possible. The gphoto2 commandline tool does not support this yet. (If someone wants to make a patch for it, feel free, as I have no good syntax idea right now.) Otherwise, libgphoto2/examples/samples-tether.c is a small example program that does the --capture-tethered magic. Just add some check there, e.g. if (!strstr(path->name, ".JPG")) break; /* if not JPG, do not download */ to the switch case GP_EVENT_FILE_ADDED in it to just download JPG files. Ciao, Marcus |