Add support for smart crop #90

Closed
kleisauke opened this Issue Apr 9, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@kleisauke
Member

kleisauke commented Apr 9, 2017

Support for smart crop has landed in the new libvips 8.5. This cropping method searches the image for edges, skin tones and areas of saturated colour, and attempts to position the crop box over the most significant feature.

If libvips 8.5 appears in Remi's RPM repository (and if it has been updated on our server), we need to uncomment the following lines: index.php#L668-L676, Size.php#L615.

@kleisauke kleisauke added this to the v3.0.0 milestone Apr 9, 2017

@kleisauke kleisauke self-assigned this Apr 9, 2017

kleisauke added a commit that referenced this issue Apr 10, 2017

Implement smart crop + more
- Implement smart crop, see:
#90
- Switch to container-based Travis
- Update dependencies
- Use libvips 8.5.2 for unit tests
- Update CHANGELOG.md
@andrieslouw

This comment has been minimized.

Show comment
Hide comment
@andrieslouw

andrieslouw Apr 10, 2017

Member

Still needs some documentation & examples to be marked as completed, code is running in production.

Member

andrieslouw commented Apr 10, 2017

Still needs some documentation & examples to be marked as completed, code is running in production.

@kleisauke

This comment has been minimized.

Show comment
Hide comment
@kleisauke

kleisauke Apr 10, 2017

Member

Implemented, see: https://images.weserv.nl/#crop-smartcrop

I'll leave this enhancement open to give it some publicity.

Member

kleisauke commented Apr 10, 2017

Implemented, see: https://images.weserv.nl/#crop-smartcrop

I'll leave this enhancement open to give it some publicity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment