-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
autodetect ImageMagick on windows #1041
Conversation
Would someone else like to approve this PR? |
Thanks for the contribution. However, I think that this has been superseded by #1109. |
I have to disagree. I looked at #1109 and with that it checks for the ImageMagick environment variable and then uses that. I still think it's better if it can autodetect it without configuring / setting environmental variables / doing anything. Also this does no harm and is literally the last fallback if everything else fails. |
set encoding directly
In cases like this, yes, it is arguably less useful, but overall it ensures that the style is consistent which is a great benefit (it was very bad before we started using it!) . You can install it with |
...and not my idea.
I hate it more and more. https://i.imgur.com/Gz1rS1J.png
Hey, thanks for getting it sorted with black! Its a big help to have the code all formatted consistently (I know that yours was fine (just different in matters of taste) before, but a lot of contributions aren't and it is so much easier to run a single tool on a submission than it is to nitpick every little change.) For future reference it should be a one-line command and commit, it looks like you tried to do it manually? Either way, it's fine now. I made a couple more smaller changes that I just noticed. @mgaitan was right about not using a bare except: https://stackoverflow.com/questions/54948548/what-is-wrong-with-using-a-bare-except. We don't want to catch things like If you're happy with my changes, then I'm happy to merge! |
Sure looks fine now :) |
What exactly are we waiting for until merge? |
Nothing, just all the maintainers are quite busy :) Commenting reminders every so often like you've done is a good idea. |
Are you using image magick 6 or 7? I notice that this uses |
I have imagemagick 7 and it has both convert.exe and magick.exe |
Autodetect ImageMagick on windows