<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Introducing GhostscriptSharp</title>
	<atom:link href="http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/</link>
	<description></description>
	<pubDate>Sun, 05 Feb 2012 12:07:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Michael R. Brown</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-46361</link>
		<dc:creator>Michael R. Brown</dc:creator>
		<pubDate>Tue, 16 Aug 2011 15:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-46361</guid>
		<description>Great class! I used your GenerateOutput method as I had problems with image sizes using your other methods as stated  above. Even when I specified sizes of 100 and 100 it would still generate a very large image. Using the GhostscriptSettings constructor I was able to set properties and use the generateoutput method successfully with much more manageable image sizes. Works great!

string inputPath = userFormsPath + formId + ".pdf";
                    string outputPath = userFormsPath + formId + "_%d.jpg";
                    //int firstPage = 1;
                    //int lastPage = 3;
                    int imageWidth = 150;
                    int imageHeight = 150;

                    GhostscriptSettings s = new GhostscriptSettings();
                    s.Device = GhostscriptSharp.Settings.GhostscriptDevices.jpeg;
                    s.Page.AllPages = true;
                    //s.Page.Start = firstPage;
                    //s.Page.End = lastPage;
                    s.Resolution = new System.Drawing.Size(imageWidth, imageHeight);
                    GhostscriptSharp.Settings.GhostscriptPageSize pageSize = new GhostscriptSharp.Settings.GhostscriptPageSize();
                    pageSize.Native = GhostscriptSharp.Settings.GhostscriptPageSizes.a7;
                    s.Size = pageSize;

                    GhostscriptWrapper.GenerateOutput(inputPath, outputPath, s);

//GhostscriptWrapper.GeneratePageThumbs(inputPath, outputPath, firstPage, lastPage, imageWidth, imageHeight);
                

//GhostscriptWrapper.GeneratePageThumb(inputPath, outputPath, firstPage, imageWidth, imageHeight);</description>
		<content:encoded><![CDATA[<p>Great class! I used your GenerateOutput method as I had problems with image sizes using your other methods as stated  above. Even when I specified sizes of 100 and 100 it would still generate a very large image. Using the GhostscriptSettings constructor I was able to set properties and use the generateoutput method successfully with much more manageable image sizes. Works great!</p>
<p>string inputPath = userFormsPath + formId + &#8220;.pdf&#8221;;<br />
                    string outputPath = userFormsPath + formId + &#8220;_%d.jpg&#8221;;<br />
                    //int firstPage = 1;<br />
                    //int lastPage = 3;<br />
                    int imageWidth = 150;<br />
                    int imageHeight = 150;</p>
<p>                    GhostscriptSettings s = new GhostscriptSettings();<br />
                    s.Device = GhostscriptSharp.Settings.GhostscriptDevices.jpeg;<br />
                    s.Page.AllPages = true;<br />
                    //s.Page.Start = firstPage;<br />
                    //s.Page.End = lastPage;<br />
                    s.Resolution = new System.Drawing.Size(imageWidth, imageHeight);<br />
                    GhostscriptSharp.Settings.GhostscriptPageSize pageSize = new GhostscriptSharp.Settings.GhostscriptPageSize();<br />
                    pageSize.Native = GhostscriptSharp.Settings.GhostscriptPageSizes.a7;<br />
                    s.Size = pageSize;</p>
<p>                    GhostscriptWrapper.GenerateOutput(inputPath, outputPath, s);</p>
<p>//GhostscriptWrapper.GeneratePageThumbs(inputPath, outputPath, firstPage, lastPage, imageWidth, imageHeight);</p>
<p>//GhostscriptWrapper.GeneratePageThumb(inputPath, outputPath, firstPage, imageWidth, imageHeight);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dennis Vasek</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-41577</link>
		<dc:creator>Dennis Vasek</dc:creator>
		<pubDate>Fri, 24 Jun 2011 19:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-41577</guid>
		<description>Excellent post Matthew! Just wondering if it's possible to use Ghostscript with streams rather than physically using files.

Thanks!</description>
		<content:encoded><![CDATA[<p>Excellent post Matthew! Just wondering if it&#8217;s possible to use Ghostscript with streams rather than physically using files.</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PDF manipulation in C# using GhostscriptSharp &#171; Abnormal thoughts</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-37635</link>
		<dc:creator>PDF manipulation in C# using GhostscriptSharp &#171; Abnormal thoughts</dc:creator>
		<pubDate>Tue, 10 May 2011 00:16:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-37635</guid>
		<description>[...] &#38; GhostScript integration brought me to a project titled GhostscriptSharp by Matthew Ephraim (http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/).  The only thing that I needed for my project that wasn&#8217;t already implemented in [...]</description>
		<content:encoded><![CDATA[<p>[...] &amp; GhostScript integration brought me to a project titled GhostscriptSharp by Matthew Ephraim (http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/).  The only thing that I needed for my project that wasn&#8217;t already implemented in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mads Boye</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-35820</link>
		<dc:creator>Mads Boye</dc:creator>
		<pubDate>Mon, 18 Apr 2011 04:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-35820</guid>
		<description>How do i use this for an .net web application?
Should i also reference the gsdll32.dll like i did with the ghostscriptshrap.dll?</description>
		<content:encoded><![CDATA[<p>How do i use this for an .net web application?<br />
Should i also reference the gsdll32.dll like i did with the ghostscriptshrap.dll?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeremy</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-27970</link>
		<dc:creator>jeremy</dc:creator>
		<pubDate>Thu, 13 Jan 2011 12:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-27970</guid>
		<description>Hi Mathew thanks great code but however, I’m also getting that InitAPI method returning a -100. using the gswin32.exe executable works fine but initialising the API in code seems to crash please could you help thanks</description>
		<content:encoded><![CDATA[<p>Hi Mathew thanks great code but however, I’m also getting that InitAPI method returning a -100. using the gswin32.exe executable works fine but initialising the API in code seems to crash please could you help thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Ephraim</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-27470</link>
		<dc:creator>Matthew Ephraim</dc:creator>
		<pubDate>Fri, 07 Jan 2011 03:59:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-27470</guid>
		<description>@GuiSim I actually don't know the answer to that. I hadn't really thought about it. After looking around a little bit, it looks like there's not a clear answer: (http://en.wikipedia.org/wiki/GPL_license#Linking_and_derived_works). 

For what it's worth, I included the Ghostscript DLL in the Third Party folder as a convenience, but my code doesn't touch the source for Ghostscript at all.</description>
		<content:encoded><![CDATA[<p>@GuiSim I actually don&#8217;t know the answer to that. I hadn&#8217;t really thought about it. After looking around a little bit, it looks like there&#8217;s not a clear answer: (http://en.wikipedia.org/wiki/GPL_license#Linking_and_derived_works). </p>
<p>For what it&#8217;s worth, I included the Ghostscript DLL in the Third Party folder as a convenience, but my code doesn&#8217;t touch the source for Ghostscript at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GuiSim</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-25456</link>
		<dc:creator>GuiSim</dc:creator>
		<pubDate>Fri, 10 Dec 2010 15:40:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-25456</guid>
		<description>Since your library is licensed under the MIT license and you use the ghostscript dll.. doesn't that violate's GhostScript's GPL license ?</description>
		<content:encoded><![CDATA[<p>Since your library is licensed under the MIT license and you use the ghostscript dll.. doesn&#8217;t that violate&#8217;s GhostScript&#8217;s GPL license ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-20712</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 18 Aug 2010 15:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-20712</guid>
		<description>Nevermind...Like I said, dumb question.</description>
		<content:encoded><![CDATA[<p>Nevermind&#8230;Like I said, dumb question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-20711</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Wed, 18 Aug 2010 15:28:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-20711</guid>
		<description>I know this is a stupid question. Every time I try to add the reference, I get "..could not be added. Please make sure the file is accessible and that is is a valid assembly or COM component."

I have tried two different gs releases and the dll packed in your GhostScript wrapper. I would love any help.</description>
		<content:encoded><![CDATA[<p>I know this is a stupid question. Every time I try to add the reference, I get &#8220;..could not be added. Please make sure the file is accessible and that is is a valid assembly or COM component.&#8221;</p>
<p>I have tried two different gs releases and the dll packed in your GhostScript wrapper. I would love any help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-19775</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Tue, 06 Jul 2010 07:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-19775</guid>
		<description>First off - thanks for the great library. It has the potential to solve a major problem I'm currently working on.

However, I'm also getting that InitAPI method returning a -100. It's a bit difficult to debug as well. Using the exact same arguments through the gswin32.exe executable works fine but initialising the API in code seems to fall over for some reason which I can't seem to get.

Any help?

Regards,

Matthew</description>
		<content:encoded><![CDATA[<p>First off - thanks for the great library. It has the potential to solve a major problem I&#8217;m currently working on.</p>
<p>However, I&#8217;m also getting that InitAPI method returning a -100. It&#8217;s a bit difficult to debug as well. Using the exact same arguments through the gswin32.exe executable works fine but initialising the API in code seems to fall over for some reason which I can&#8217;t seem to get.</p>
<p>Any help?</p>
<p>Regards,</p>
<p>Matthew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jerry</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-18836</link>
		<dc:creator>Jerry</dc:creator>
		<pubDate>Sat, 22 May 2010 18:06:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-18836</guid>
		<description>The output image size is 10x times larger. I set 100x100, but got 978x1023. Why?</description>
		<content:encoded><![CDATA[<p>The output image size is 10x times larger. I set 100&#215;100, but got 978&#215;1023. Why?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mehul</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-18811</link>
		<dc:creator>Mehul</dc:creator>
		<pubDate>Fri, 21 May 2010 19:27:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-18811</guid>
		<description>I’m trying to get this working on a ASP.NET page but the  InitAPI method errors out returning a -100 for the result integer. Any ideas would be appreciated.

Thank, 
Mehul</description>
		<content:encoded><![CDATA[<p>I’m trying to get this working on a ASP.NET page but the  InitAPI method errors out returning a -100 for the result integer. Any ideas would be appreciated.</p>
<p>Thank,<br />
Mehul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-18624</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Thu, 13 May 2010 19:16:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-18624</guid>
		<description>This looks exactly like what I have been trying to do. I have a simple .NET form that needs to be able to post a PDF thumbnail to a website (among other things, of course). But, as I am still in the infancy of my programmnig knowledge, I need to know how to include this into my existing project.  I'm used to writing everything from scratch (with exception of some reference dll's) and haven't used a project such as this inside another project.  Any and all assistance would be useful.  Thanks!!</description>
		<content:encoded><![CDATA[<p>This looks exactly like what I have been trying to do. I have a simple .NET form that needs to be able to post a PDF thumbnail to a website (among other things, of course). But, as I am still in the infancy of my programmnig knowledge, I need to know how to include this into my existing project.  I&#8217;m used to writing everything from scratch (with exception of some reference dll&#8217;s) and haven&#8217;t used a project such as this inside another project.  Any and all assistance would be useful.  Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Ephraim</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-17179</link>
		<dc:creator>Matthew Ephraim</dc:creator>
		<pubDate>Thu, 11 Mar 2010 21:39:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-17179</guid>
		<description>@Milky

Sorry, I don't know much about the x64 issues, so I can't really help there.

The software is licensed under the MIT License, so, yes, it can be used commercially. It's a pretty permissive license, but be sure to take a look at it if you have any concerns.</description>
		<content:encoded><![CDATA[<p>@Milky</p>
<p>Sorry, I don&#8217;t know much about the x64 issues, so I can&#8217;t really help there.</p>
<p>The software is licensed under the MIT License, so, yes, it can be used commercially. It&#8217;s a pretty permissive license, but be sure to take a look at it if you have any concerns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milky Joe</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-16960</link>
		<dc:creator>Milky Joe</dc:creator>
		<pubDate>Mon, 01 Mar 2010 14:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-16960</guid>
		<description>Hmmm... I uninstalled the x64 release and installed the x86 release, and everything is working!? Non of my projects are set to target x86, so I'm not sure why it's working.

Can this be used commercially?</description>
		<content:encoded><![CDATA[<p>Hmmm&#8230; I uninstalled the x64 release and installed the x86 release, and everything is working!? Non of my projects are set to target x86, so I&#8217;m not sure why it&#8217;s working.</p>
<p>Can this be used commercially?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Milky Joe</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-16956</link>
		<dc:creator>Milky Joe</dc:creator>
		<pubDate>Mon, 01 Mar 2010 11:49:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-16956</guid>
		<description>I'm on Windows 7 64bit. I've installed the 64bit release of GhostScript 8.64, and added a path entry to the bin folder. However, I'm encountering an error:

An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)

Any ideas?</description>
		<content:encoded><![CDATA[<p>I&#8217;m on Windows 7 64bit. I&#8217;ve installed the 64bit release of GhostScript 8.64, and added a path entry to the bin folder. However, I&#8217;m encountering an error:</p>
<p>An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0&#215;8007000B)</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dash</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-16462</link>
		<dc:creator>Dash</dc:creator>
		<pubDate>Thu, 04 Feb 2010 09:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-16462</guid>
		<description>Works fine with x64.  .NET doesn't care as it's all CLR and Ghostscript is available as a x64 binary.

I've forked the project and added a few features to suit what I was doing.  Feel free to merge it back in if you're interested.</description>
		<content:encoded><![CDATA[<p>Works fine with x64.  .NET doesn&#8217;t care as it&#8217;s all CLR and Ghostscript is available as a x64 binary.</p>
<p>I&#8217;ve forked the project and added a few features to suit what I was doing.  Feel free to merge it back in if you&#8217;re interested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Crolley</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-16264</link>
		<dc:creator>Charles Crolley</dc:creator>
		<pubDate>Fri, 29 Jan 2010 17:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-16264</guid>
		<description>Fantastic, Matthew!  Excellent work and you saved me a whole bunch of time and headache.  

The only addition I would have is that the ghostscript you made available didn't work on my machine, but this one: http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl863.htm did.  (Make sure you get the Windows version toward the bottom of the page.)  

I don't know if it was specific to my installation, but it may save others some time.  AGAIN, GREAT WORK!</description>
		<content:encoded><![CDATA[<p>Fantastic, Matthew!  Excellent work and you saved me a whole bunch of time and headache.  </p>
<p>The only addition I would have is that the ghostscript you made available didn&#8217;t work on my machine, but this one: <a href="http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl863.htm" rel="nofollow">http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl863.htm</a> did.  (Make sure you get the Windows version toward the bottom of the page.)  </p>
<p>I don&#8217;t know if it was specific to my installation, but it may save others some time.  AGAIN, GREAT WORK!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Ephraim</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-16207</link>
		<dc:creator>Matthew Ephraim</dc:creator>
		<pubDate>Mon, 25 Jan 2010 01:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-16207</guid>
		<description>@flalar I haven't given any thought to it. I haven't been doing .Net development in a while, so it just hasn't come up. 

Hopefully, someone else ends up needing that and forks the project on github. Otherwise, it might be a while before I get around to it.</description>
		<content:encoded><![CDATA[<p>@flalar I haven&#8217;t given any thought to it. I haven&#8217;t been doing .Net development in a while, so it just hasn&#8217;t come up. </p>
<p>Hopefully, someone else ends up needing that and forks the project on github. Otherwise, it might be a while before I get around to it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: flalar</title>
		<link>http://www.mattephraim.com/blog/2009/07/08/introducing-ghostscriptsharp/#comment-16073</link>
		<dc:creator>flalar</dc:creator>
		<pubDate>Thu, 14 Jan 2010 13:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mattephraim.com/?p=75#comment-16073</guid>
		<description>Any thought to use this in a x64 environment?</description>
		<content:encoded><![CDATA[<p>Any thought to use this in a x64 environment?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

