RAW : in remote shutter release script

Two of my scripts let you press a key on the keyboard, or click with the mouse, and remotely release the shutter.  But just like the built in Windows Explorer technique for doing these they both only are able to trigger JPG, even if the camera is set to RAW.

Until today.  It turns out this is not that hard to fix.  But the programatic technique is a bit of a laugh; because Windows Image Automation does not officially support RAW the NEF files on my Nikon D300 are typed as being of “undefined” type.  Unlike JPG files which WIA does know are JPG files and are typed appropriately.

So to get the WIA Take Picture command to get me a NEF I actually have to ask for a picture of type “undefined”!  It’s amazing it works, I guess somewhere an engineer (I’m not sure Microsoft or Nikon) decided that undefined=NEF.  I have no idea of this will also work with Canon, it might or it might not.  

Anyway it works, and it opens up a whole range of possibilities I’ll be exploring soon with the scripting.  But until then head over to the posts for those remote scripts and you can download the latest versions which support RAW.

PS.  Please please no religious RAW vs JPG comments.   It’s a free world, people are entitled to the file format of their choice.

3 Replies to “RAW : in remote shutter release script”


  1. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 591
    egge says:

    Hey, thanks fot this hint!
    I was trying for hours now to figure out how to shoot RAWs. But I am still not finished.
    Many Nikons are able to store RAW and basic JPG at the same time, have you any idea which properties to set to reach this?
    This would be great to download quickly the jpg preview while having the high quality RAW for later.

    regards, Egge


  2. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 591
    Clarence "Ole" Olson says:

    Do you have a version for Canon?


  3. Notice: Only variables should be assigned by reference in /home/diyphoto/public_html/wp-content/plugins/subscribe-to-comments/subscribe-to-comments.php on line 591
    raymond says:

    Ole, it is redundant for canon because you get professional tethering software free with the camera!


Deprecated: Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead. in /home/diyphoto/public_html/wp-includes/functions.php on line 6031

Leave a Reply

Your email address will not be published. Required fields are marked *