Re: Suppress warning messages
Frans Coetzee <[email protected]> Tue, 23 Nov 2010 11:36:58 -0500
| Newsgroups | gmane.comp.video.graphicsmagick.tools |
|---|---|
| Organization | Home |
| Message-ID | <[email protected]> |
Hi Bob, Thanks for your prompt reply. I'm using GM to convert pdf to tif, so in this case I'm assuming Ghostscript is used as the subordinate and is producing the warning messages. I like your suggestion about modifying the source to customize the output. This might be my solution. Many thanks, Frans On 23/11/2010 11:21 AM, Bob Friesenhahn wrote: > 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 ------------------------------------------------------------------------------ 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