Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smartcrop with width or height littler than 32 not working #178

Open
rafaelsq opened this issue Jan 10, 2018 · 1 comment
Open

Smartcrop with width or height littler than 32 not working #178

rafaelsq opened this issue Jan 10, 2018 · 1 comment

Comments

@rafaelsq
Copy link

rafaelsq commented Jan 10, 2018

$ docker run --rm -p 9000:9000 h2non/imaginary -enable-url-source
$ curl http://localhost:9000/smartcrop?width=31&height=31&type=webp&url=https://camo.githubusercontent.com/bcb3b2bd343c3c85aaf6094e51c6178bbe239a32/687474703a2f2f7331342e706f7374696d672e6f72672f3874683731613230312f696d6167696e6172795f776f726c642e6a7067
{"message":"Error while processing the image: shrink: parameter vshrink not set","code":1}

but if you increment the with to 51 or the height to 32, it will work.

any ideia why?

@polarathene
Copy link

Sounds related another bug that was resolved with a fix bimg had merged recently. This issue is probably resolved if imaginary is using that newer bimg.

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

No branches or pull requests

3 participants