سؤال

I've done some googling but can't find an answer to this. Using identify -verbose, I can see if a jpeg has clipping paths or not. How can I check this with RMagick? :S

هل كانت مفيدة؟

المحلول

If you look at the ImageMagick documentation, you'll see that the command line tools have a few clipping related options:

-clip - Apply the clipping path if one is present

-clip-mask - Clip the image as defined by this mask

-clip-path - Clip along a named path from the 8BIM profile

However, if you look at RMagick's documentation, you'll see that the -clip and -clip-path have no equivalent RMagick commands.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top