-quiet not working for cr2 files

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rajivrp
Posts: 7
Joined: 2017-05-25T23:37:23-07:00
Authentication code: 1151

-quiet not working for cr2 files

Post 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
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: -quiet not working for cr2 files

Post 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
rajivrp
Posts: 7
Joined: 2017-05-25T23:37:23-07:00
Authentication code: 1151

Re: -quiet not working for cr2 files

Post 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
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: -quiet not working for cr2 files

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
rajivrp
Posts: 7
Joined: 2017-05-25T23:37:23-07:00
Authentication code: 1151

Re: -quiet not working for cr2 files

Post 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
Post Reply