Turistforeningen/node-s3-uploader

if crop the image with width and aspect ration, how to define from the center/top/down as the position to crop? Thanks.

Opened this issue · 1 comments

Subject of the issue

Describe your issue here.

Your environment

  • Operating system
    • Mac
    • Windows
    • Linux
  • Node.js version (node --version)
    • Node.js v4.x
    • Node.js v6.x
  • ImageMagick version (identify -version)
    • ImageMagick v6.9.x
    • ImageMagick v7.0.x
  • s3-uploader version
    • v0.x
    • v1.x
    • v2.x

Steps to reproduce

Tell us how to reproduce this issue. Please provide a minimal code example to demonstrate the problem.

// your code here

Expected behaviour

Tell us what should happen.

Actual behaviour

Tell us what happens instead.

// log outoput or error messages here

This is not currently possible. s3-uploader chooses the best centered crop. Pull Requests are welcome, though 👍🏼