Hacker News new | ask | show | jobs
by comex 4011 days ago
Hmm... I don't use imgix, but what if a site using it wants to give the user the option to correct the crop? Since even a good algorithm won't do the right thing 100% of the time, it would seem sensible to give the user one of those 'zoom to crop' widgets with the starting position detected by the algorithm, but the described services sounds like it only gives you a static cropped image as output - it neither provides a widget itself nor supplies the parameters required to make one. (Or maybe it does and it's just somewhere else in the documentation?)
1 comments

(I work at imgix)

There are a number of different ways that crops can be made including custom rectangle cropping via pixel or percentage values, provided as url string parameters. The face zoom crop is just an additional feature to save some steps for these kinds of scenarios. Ideally this feature can be built into an application providing a user with a suggested face crop, and then allow a to use the alternate custom crop that access a different set of parameters via imgix. imgix is an on demand dynamic api for these operations.