imgflo / imgflo-server

HTTP image processing server based on imgflo
48 stars 7 forks source link

Support specifying crop / region of interest for any graph #67

Open jonnor opened 8 years ago

jonnor commented 8 years ago

Similar to how one can resize with any graph. Avoids having to do hacks like first pass through a crop graph, then the real graph. Also enables us to do smarter things by knowing which part of image API client is interested in.

Should be a rectangle of input-referred coordinates. region: { x, y, width, height }