This project has moved and is read-only. For the latest updates, please go here.

.ps to image

Feb 26, 2014 at 7:44 PM
Hi all,
is possible to convert .ps files into image file ?
Thanks.
Alessandro
Feb 26, 2014 at 9:28 PM
You can just read a .ps file and then write it to another format. All you need to do is this:
using (MagickImage image = new MagickImage("alessandro.ps"))
{
  image.Write("hotzambo.png");
}
You do need to install Ghostscript. https://magick.codeplex.com/wikipage?title=Convert%20PDF&referringTitle=Documentation
Feb 27, 2014 at 7:30 AM
Thanks, now work.
Is possible to set the resolution ?

Alessandro
Feb 27, 2014 at 7:37 AM
You can specify the resolution (Density) like this:
MagickReadSettings settings = new MagickReadSettings();
settings.Density = new MagickGeometry(300, 300);

using (MagickImage image = new MagickImage("alessandro.ps", settings))
{
  image.Write("hotzambo.png");
}
Feb 27, 2014 at 7:42 AM
Thanks again.
Alessandro
Feb 27, 2014 at 12:25 PM
There is a 32-bit version?

Alessandro
Feb 27, 2014 at 1:00 PM
32-bit version of?
Feb 27, 2014 at 2:02 PM
I can use this library for 32 and 64 bit ?
Feb 27, 2014 at 2:03 PM
If the download name contains -x86- it is a 32 bit version. If you want the 64 version look for -x64- in the download name.
Feb 27, 2014 at 2:30 PM
Forgive my question. I had downloaded from the main page, not from the download tab.