문제

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