Skip to content

[Feature] Coordinates-based Cropping #119

@colbyfayock

Description

@colbyfayock

Feature Request

Is your feature request related to a problem? Please describe.

Add support for coordinates-based cropping.

crop={{
  type: 'crop',
  width: 400,
  height: 400,
  x: 80,
  y: 350,
  gravity: 'north_east',
  source: true
}}

change is available inside of @cloudinary-util/[email protected], should just need to update documentation and add an example as it makes sense.

cloudinary-community/next-cloudinary#509
https://next.cloudinary.dev/cldimage/examples#cropping

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions