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:

Have more questions? Submit a request


Powered by Zendesk