kriasoft / image-resizing

Node.js backend (middleware) for dynamic image manipulation needs (transform, resize, optimize)
MIT License
23 stars 5 forks source link

Offset coordinates for cropping: x_5,y_5,w_80,h_60,c_crop #1

Closed koistya closed 4 years ago

koistya commented 4 years ago

https://example.com/image.jpg (original 1024x576)

image

https://example.com/x_260,y_160,w_120,h_80,c_crop/image.jpg (cropped to 120x80 at 260,160 offset)

image