dcraw 9.19 included with gm 1.3.20 doesn't support paths with spaces.
Swiss army knife of image processing
Brought to you by:
bfriesen
This is the command and the error I get:
gm identify "E:\photos\Angela\2012\2012-06-23 Spike\orf\P6230049.ORF"
E:\photos\Angela\2012\2012-06-23: No such file or directory
Spike\orf\P6230049.ORF: No such file or directory
gm identify: "dcraw" "-w" "-O" "C:\Users\cmanley\AppData\Local\Temp\gmc9wDOR" "E:\photos\Angela\2012\2012-06-23 Spike\orf\P6230049.ORF".
gm identify: Delegate failed (dcraw -w -O "%o" "%i").
gm identify: Request did not return an image.
Running the dcraw command with the same options standalone works fine:
So it seems the code that is calling dcraw isn't escaping the arguments (correctly).
P.S. Is a custom version of dcraw included in the GM package because I don't see an -O option in the version on Dave Coffin's site?
Yes, this is a modified version of dcraw. Patches have been sent to David Coffin and he has at least applied some of the patches even though he did not respond to email.
See GraphicsMagick Mercurial (or source package targeting Windows) for the modifications.
Fixed by Mercurial changeset c40fc631673f. Thank you very much for reporting this issue.