JonasKruckenberg/imagetools

crop from / "gravity"

leoj3n opened this issue · 1 comments

I need to be able to specify where the aspect ratio cropping happens on the image.

You might consider allowing something like:

Compass-style directions represent a location in the image. For example, g_north_east represents the top right corner, whereas g_south_west designates the bottom-left corner.

https://cloudinary.com/documentation/gravity_transformations_tutorial#:~:text=What%20is%20gravity%2Dspecific%20cropping%3F,-0%3A07&text=By%20applying%20the%20gravity%20transformation,or%20padding%20options%20are%20applied.

AFAICT this is not supported currently.