Goodmorning,
I know that ImageMagick works with the Ghostscript and I would like to know if I can use ImageMagick just with the gsdll32.dll.
I'd like to use my software even if Ghostscript is not installed on a computer, so I thought that maybe it could be a way to reference the dll inside my code for ImageMagick to use it.
Is it possible or the software I will develop with ImageMagick needs to run on computers that have Ghostscript installed?
Thank you
Change Ghostscript reference
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Change Ghostscript reference
If I understand correctly, IM can be built with Ghostscript as an internal delegate, by using
Otherwise, IM uses Ghostscript as an external delegate, by running the Ghostscript program.
Code: Select all
./configure ... --with-gslib ...
snibgo's IM pages: im.snibgo.com
Re: Change Ghostscript reference
I don't understand how to use this.snibgo wrote:If I understand correctly, IM can be built with Ghostscript as an internal delegate, by usingOtherwise, IM uses Ghostscript as an external delegate, by running the Ghostscript program.Code: Select all
./configure ... --with-gslib ...
The programming language I'm using is C#, where do I have to launch this command?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Change Ghostscript reference
This is part of the process of building from source. See http://www.imagemagick.org/script/install-source.php . If building on Windows with Cygwin, see also my http://im.snibgo.com/compim.htm
snibgo's IM pages: im.snibgo.com
Re: Change Ghostscript reference
Ok, thank you very much!
Re: Change Ghostscript reference
I have Magick.Net-x86.dll and Magick.Net-x86.xml in my software bin directory.
Can I change the xml to link ImageMagick to the gsdll32.dll which is in the same directory?
Can I change the xml to link ImageMagick to the gsdll32.dll which is in the same directory?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Change Ghostscript reference
Sorry, I know nothing about Magick.Net.
snibgo's IM pages: im.snibgo.com
Re: Change Ghostscript reference
You can specify an alternative ghostscript location with MagickNET.SetGhostscriptDirectory. I think you only need the dll but I am not sure so you have to try it yourself