You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just in case there are Windows users watching the project: on linux and mac the imagemagick executable is easy to access (it is simply called convert). But in windows there is a name conflict so the users need to enter the path to the binary themselves. This prevents windows users from installing with pip, and it seems to be difficult to do for python beginners and non-computer experts in general. The path to provide looks like this
C:\Program Files\ImageMagick-6.8.3-Q16\convert
I can easily imagine that there could be a way to auto-detect that file so that windows users would have nothing set manually. But I don't want to write it myself because I am not on windows, so that would be difficult to test. Could someone do that ?
As I see it it would consist in changing this part of config.py:
if IMAGEMAGICK_BINARY == 'auto-detect':
if try_cmd(['convert'])[0]:
IMAGEMAGICK_BINARY = 'convert'
else:
IMAGEMAGICK_BINARY = 'unset'
by adding:
if os.name == "nt":
# find the file
IMAGEMAGICK_BINARY = (# found file else 'unset')
elif try_cmd(['convert'])[0]:
etc.
The text was updated successfully, but these errors were encountered:
Zulko
added
the
enhancement
Positive change that does not change the API, i.e. improved performance, using less memory etc.
label
Oct 12, 2014
Just in case there are Windows users watching the project: on linux and mac the imagemagick executable is easy to access (it is simply called
convert
). But in windows there is a name conflict so the users need to enter the path to the binary themselves. This prevents windows users from installing with pip, and it seems to be difficult to do for python beginners and non-computer experts in general. The path to provide looks like thisI can easily imagine that there could be a way to auto-detect that file so that windows users would have nothing set manually. But I don't want to write it myself because I am not on windows, so that would be difficult to test. Could someone do that ?
As I see it it would consist in changing this part of config.py:
by adding:
The text was updated successfully, but these errors were encountered: