Page 1 of 1

-quiet not working for cr2 files

Posted: 2017-05-26T04:25:06-07:00
by rajivrp
Hi,

Trying to use "-quiet" for cr2 to jpg conversion, but it has no impact apparently, dumping output below.

It works incase of other normal input formats like PNG, GIF etc, but the moment we pass CR2 files as input it prints some extra information, I know "-quiet" suppresses only warning and not errors, but these debugs do not look like errors, infact output gets generated successfully.

Any idea how to get rid of it ?

Code: Select all

"C:\Program Files\ImageMagick-7.0.5-7\convert.exe" "sample.cr2" "Output.jpg"

Loading Canon EOS 5DS image from C:/Users/ADMINI~1/AppData/Local/Temp/2/magick-54242IopMxfESkSI ...
Scaling with darkness 0, saturation 16383, and multipliers 2.475208 1.000000 1.512372 1.000000
Converting to sRGB colorspace...
Writing data to C:/Users/ADMINI~1/AppData/Local/Temp/2/magick-5424Gnni3sLjIiUe.ppm ...

Code: Select all

"C:\Program Files\ImageMagick-7.0.5-7\convert.exe" -quiet "sample.cr2" "Output.jpg"

Loading Canon EOS 5DS image from C:/Users/ADMINI~1/AppData/Local/Temp/2/magick-5784PIfXWdZ6VR61 ...
Scaling with darkness 0, saturation 16383, and multipliers 2.475208 1.000000 1.512372 1.000000
Converting to sRGB colorspace...
Writing data to C:/Users/ADMINI~1/AppData/Local/Temp/2/magick-5784Tghx-GFm8iHr.ppm ...
Thanks,
Rajiv

Re: -quiet not working for cr2 files

Posted: 2017-05-26T04:33:10-07:00
by Bonzo
If you allowed Imagemagick to add itself to the environmental path try this:

Code: Select all

magick "sample.cr2" "Output.jpg"
magick replaces convert on V7 but depending if you allowe legacy programs during install convert should still work

Re: -quiet not working for cr2 files

Posted: 2017-05-26T04:43:43-07:00
by rajivrp
Thanks for reply. I tried magick.exe, but it dumps extra information too, even when '-quite' is used.

Code: Select all

"C:\Program Files\ImageMagick-7.0.5-7\magick.exe" -quiet "sample.cr2" "Output.jpg"
Loading Canon EOS 5DS image from C:/Users/ADMINI~1/AppData/Local/Temp/2/magick-5656SBgRf84xSORu ...
Scaling with darkness 0, saturation 16383, and multipliers 2.475208 1.000000 1.512372 1.000000
Converting to sRGB colorspace...
Writing data to C:/Users/ADMINI~1/AppData/Local/Temp/2/magick-5656Zt3K9PIh5nj-.ppm ...
Rajiv

Re: -quiet not working for cr2 files

Posted: 2017-05-26T05:16:24-07:00
by dlemstra
It appears that I committed a local version of delegates.xml by accident. This will be resolved in the next version of ImageMagick. To fix this in your local version remove the `-v` argument from the command `dng:decode` in the delegate.xml file.

Re: -quiet not working for cr2 files

Posted: 2017-05-26T06:01:03-07:00
by rajivrp
Bingo. Works after removing -v from dng:decode tag in delegates.xml. Thank you !

Can you suggest me a latest stable build in your view that I should use for rest of the evaluation ... or you think 7.0.5-7 will just be fine ?

Rajiv