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

Resize uses wrong argument #110

Open
CalvinWalzel opened this issue Oct 13, 2021 · 1 comment
Open

Resize uses wrong argument #110

CalvinWalzel opened this issue Oct 13, 2021 · 1 comment

Comments

@CalvinWalzel
Copy link

The image preview crashes for me. I'm using the vips library for image processing and apparently it expects a scale float instead of a string with the width & height in pixels. A new alternative is image.variant(resize_to_fill: [150, nil]).

Related issue I was able to find:
libvips/ruby-vips#236

Occurrence with stack-trace:
https://app.honeybadger.io/fault/92773/2748d886f36cc9369fbbc833eff27539

@Timmitry
Copy link
Contributor

@CalvinWalzel I had the same Issue and made a PR for it: #119

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

No branches or pull requests

2 participants