Hacker News new | past | comments | ask | show | jobs | submit login

When you automate the cropping of user-generated images in your Web application, some images inevitably get cropped in less than ideal ways. This article demonstrates how a content-aware algorithm can help to keep the areas of interest in your crops, regardless of the overall image layout. Includes code examples.



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: