'convert.exe' missing from 7.0.3-5-Q16
'convert.exe' missing from 7.0.3-5-Q16
I found an earlier discussion of this from 7.0.1-1, but in that case there was an option in the ImageMagick installer to "install legacy files." In the version I just downloaded and installed, 7.0.3-5-Q16, there is no such option. I am trying to use a fairly old script (downloaded from https://www.dropbox.com/s/jzdkgv2f0jrbw ... df.py?dl=0) which uses 'convert' to export layers from a GIMP image to a multi-page .pdf file. I'm not fluent in python, so I don't know how to edit the script. There is only one instance of the string 'convert' in a command, but it lacks the extension '.exe,' so I'm a little hesitant to edit it. In the end I suppose I can try it and see what happens. Is it possible to create something like a symbolic link in Windows? Could I simply create a copy of 'magick.exe' and rename it? This may not be the best place to be asking some of my questions, but I'd be grateful for any help.
- GeeMack
- Posts: 718
- Joined: 2015-12-01T22:09:46-07:00
- Authentication code: 1151
- Location: Central Illinois, USA
Re: 'convert.exe' missing from 7.0.3-5-Q16
You'll have to use the command "magick" instead of "convert". And for the other utilities you'll have to use them after "magick" like "magick mogrify..." and so on.Procopius wrote:I found an earlier discussion of this from 7.0.1-1, but in that case there was an option in the ImageMagick installer to "install legacy files." In the version I just downloaded and installed, 7.0.3-5-Q16, there is no such option.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: 'convert.exe' missing from 7.0.3-5-Q16
On Windows, there is already a command called convert.ext. To use the one in IM 6, you must rename the IM convert.ext to something else such as IMconvert.ext. In IM 7, the syntax changed. But a simple replace of the IM convert.ext with magick.exe should do the same thing. Since magick.exe does not conflict with the Windows convert.ext, there is no need to rename it.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: 'convert.exe' missing from 7.0.3-5-Q16
Yes, eg with the "mklink" command.Procopius wrote:Is it possible to create something like a symbolic link in Windows?
snibgo's IM pages: im.snibgo.com
Re: 'convert.exe' missing from 7.0.3-5-Q16
Ah, all becomes clear. I had forgotten about the Windows file named 'convert.exe.' The script comments at the top that you need to add the location of the ImageMagick directory to the GIMP's PATH. As I mentioned, I am not fluent in Python, but trying to read this script, it seems to be incomplete -- it seems to test to see if it fails to reach the ImageMagick executable, but then it never calls on 'convert' to actually process any data. I know enough other programming languages that I should be able to at least find the part of the script that does that, and there's nothing remotely like it.
I think my best bet is to give up on this script and do the process manually. I'd only be doing it in those cases where the original documents I need to send were printed too faintly to scan clear copies, so at most once a month. ImageMagick looks really interesting. I haven't done much with graphics, maybe this will be a new learning tool to explore.
Thank you for your help.
I think my best bet is to give up on this script and do the process manually. I'd only be doing it in those cases where the original documents I need to send were printed too faintly to scan clear copies, so at most once a month. ImageMagick looks really interesting. I haven't done much with graphics, maybe this will be a new learning tool to explore.
Thank you for your help.
Re: 'convert.exe' missing from 7.0.3-5-Q16
I never use convert.exe as convert always works for me. If you have allowed Imagemagick to add the Imagemagick path on earlier versions of Imagemagick I have found it finds the imagemagick convert before the Windows convert program.There is only one instance of the string 'convert' in a command, but it lacks the extension '.exe,' so I'm a little hesitant to edit it.
Anyway there should not be a problem changing convert to magick in your sample code to run with V7.