Clipping path?

Ian Zimmerman <[email protected]> Sun, 19 Jun 2011 13:44:38 -0700
Newsgroups gmane.comp.video.graphicsmagick.tools
Organization Foolinux
Message-ID <[email protected]>
Here's a bit of the gm manpage (this option would apply to the mogrify
and convert subcommands, at least).

 -clip  apply the clipping path, if one is present

        If a clipping path is present, it will be applied to subsequent operations.

        For example, if you type the following command:

             gm convert -clip -negate cockatoo.tif negated.tif

        only the pixels within the clipping path are negated.

        The  -clip  feature  requires the XML library.  If the XML library is not present, the
        option is ignored.

But but but ...

First, what is the "XML library", how do I know if it is present and
where do I get it if not present?

Second, what kind of thing is the clipping path?  A file - what file?
Environment variable?  Or what?  What information should be inside the
thing and in what format?

I suspect this bit has been mindlessly (or automatically) copy-pasted
from the API docs without considering the specific situation of the
command-line tool user.

-- 
Ian Zimmerman
gpg public key: 1024D/C6FF61AD 
fingerprint: 66DC D68F 5C1B 4D71 2EE5  BD03 8A00 786C C6FF 61AD
Rule 420: All persons more than eight miles high to leave the court.

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev