This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

Gravity center_xy with percentage values

Comments

1 comment

  • Avatar
    Ido

    Hi

    Note that using "xy_center" uses the given coordinates that are used on the transformation itself.

    You could use the ״custom״ gravity to crop according to a previously defined rectangle by specifying the coordinates of the rectangle during upload or on the UI (see the relevant button here).

    That way you create an area of interest that the cropping would center upon.

     

    You could read more about that in the link below:

    https://cloudinary.com/documentation/image_upload_api_reference#upload_method

     

    Hope this helps

    0
    Comment actions Permalink

Post is closed for comments.