Re: Suppress warning messages

Bob Friesenhahn <[email protected]> Tue, 23 Nov 2010 10:21:41 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.tools
Message-ID <[email protected]>
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
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev