How can I know how many clipping paths are there in an image?

You can use the Admin API listing methods while setting the pages parameter to true
For example, in Rails:

Cloudinary::Api.resource("my_image", :pages => true)

The image's number of clipping paths will be returned under the pages key.

You can generate images by a specific clipping path, for more information:
http://support.cloudinary.com/entries/26862152-Does-Cloudinary-supports-clipping-paths-images-

Have more questions? Submit a request

Comments

Powered by Zendesk