My OS is Windows 10. What I did for Ghostscript installation:
- I installed Ghostscript (v9.53.3)
- I added Ghostscript bin folder location to my environment PATH variable. (C:\Program Files\gs\gs9533\bin)
- I restarted my machine.
After this step, my cmd is able to recognize "gswin64c" command. However, "gs" is not recognized. According to Ghostscript examples, the 'gs' command should work. What must I do to make "gs" command recognized?
My Graphics Magick Problem:
I am also using Graphic Magick v1.3.36 (GM) on my machine. My GM does not have the delegate for pdf format even after I installed Ghostscript as mentioned above. This error is seen every time I try to convert a pdf file to images using gm.
C:\program files\graphicsmagick-1.3.36-q16\gm.exe convert: No decode delegate for this image format (file1.pdf)
My suspicion is that the 'gs' command is not recognized in windows and this is causing GM to be unable to detect Ghostscript.
I would value any suggestion of how to make GM work with ghostscript on my windows machine. Thank you.
https://stackoverflow.com/questions/66486195/making-graphic-magick-detect-ghostscript-for-reading-pdf-on-windows-how-to-chan March 05, 2021 at 11:07AM
没有评论:
发表评论