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

use rot command where possible #118

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

etherbob
Copy link
Contributor

@etherbob etherbob commented Dec 1, 2023

The similarity command leaves a line on the side of 90/180/270 rotations. This PR uses the rot command where possible.

resolves #104

@etherbob
Copy link
Contributor Author

etherbob commented Dec 5, 2023

@janko fwiw we've currently got a bunch of environments where we have trouble installing vips (though we use it in prod) and so we have to have conditional code that uses the built in rotate in image_magick envs and crafts a custom rot(90|180|270) command when we have vips. Would be great to be able to remove those workarounds.

@janko
Copy link
Owner

janko commented Jun 6, 2024

I appreciate the PR, and sorry for the delay 😅 Looks good, I will try to make a release soon 👍🏻

@janko janko merged commit 02c3cc4 into janko:master Jun 6, 2024
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

Successfully merging this pull request may close these issues.

rotate leaves a black line on edge of image
2 participants