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
Imgconverter fails to find ImageMagick on Windows #7477
Comments
I've moved ImageMagick to a non-spaced path on my internal drive and the same issue arises. |
The actual issue was that a program with the name convert already exists in Windows path. Our solution was to do
|
Thank you for reporting. Good idea to use Note: It seems Debian/Ubuntu does not provide the command... |
That is correct. Debian/Ubuntu default release is still on ImageMagick6, this is introduced in ImageMagick7. |
We've worked around this by using
|
Thank you for comment. I just posted a PR #7483 that switches command by platform. Could you check this please? It is very helpful to me because I don't have windows PC. |
Fix #7477: imgconverter: Invoke "magick convert" command on Windows
ImageMagick fails on Windows due to backslash acting as a Python delimiter.
Issue
ImageMagick is installed on my Windows 10 (Build 2004) machine, but it fails with
Invalid Drive Specification
. Opening a powershell and runningconvert mysvg.svg mysvg.png
works as intended, so this is a Sphinx specific issue.Workaround
Specify ImageMagick path using
image_converter = "D:\\System Programs\\ImageMagick-7.0.10-Q16\\convert.exe"
The text was updated successfully, but these errors were encountered: