Re: [GM-tools] Suppress warning messages
Swiss army knife of image processing
Brought to you by:
bfriesen
From: Bob F. <bfr...@si...> - 2010-11-23 16:21:49
|
On Tue, 23 Nov 2010, Frans Coetzee wrote: > I was wondering if there is a command line option to suppress warning > messages or what would be the best way to handle warning messages > programmatically? Is there always a common identifier in a warning message? Do you mean warnings from GraphicsMagick itself, or from subordinate programs like Ghostscript? GraphicsMagick does not produce many warnings since usually things work or they don't. Ghostscript and other subordinate programs are likely to produce warning and error messages. I am not aware of any effort to produce a common identifier in warning messages but GraphicsMagick error messages and warning messages originate from the same point so if you are willing to build from source, you can customize the output for your requirements. Bob -- Bob Friesenhahn bfr...@si..., http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |