Here is the command i'm trying in windows powershell.
.\dcraw-9.27-ms-64-bit.exe -c "C:\Downloads\RAW_CANON_10D.CRW" | cjpeg\cjpeg.exe temp.jpg 1 Answers
Answers 1
You need to call cjpeg.exe with both input and output arguments.
cjpeg.exe <input-file> <output-file> You are calling cjpeg.exe with single argument generating the error.
cjpeg.exe temp.jpg Actually you are trying to feed the result of the first command as the input of the cjpeg command. If dcraw returns the path of the input file then you have to execute the following:
.\dcraw-9.27-ms-64-bit.exe -c "C:\Downloads\RAW_CANON_10D.CRW" | %{ cjpeg\cjpeg.exe $_ temp.jpg } If dcraw returns raw binary output of the image you need to save it to a temporary file.
.\dcraw-9.27-ms-64-bit.exe -c "C:\Downloads\RAW_CANON_10D.CRW" | Out-file temp.tiff | %{ cjpeg\cjpeg.exe temp.tiff temp.jpg } 
0 comments:
Post a Comment