New Post: Parameter is not valid
Hi, I found the problem, but I'm still not sure what's causing it and if this is a Ghostscript.NET bug / problem. The workaround would be to clone an Image returned by the GhostscriptRasterizer and...
View ArticleNew Post: Parameter is not valid
Hmm that's strange. Thanks for the workaround, it works as expected. If you find out what the proper solution is let me know. Seems like it's something to do with the page having a different width and...
View ArticleNew Post: Additional information: An error occured when call to...
We just had the same issue and GambitRicky's fix worked for us. We are using the GhostscriptRasterizer (which has a viewer in it), and successive calls threw that error. Disposing the rasterizer on...
View ArticleNew Post: Converting from PS to PDF format using memorystream data c#
Hi, I have requirement where i am getting the data from printer in a PS format, and i want that to be converted to pdf. data is in the form of bytearray, what is the best way to accomplish this using...
View ArticleNew Post: Converting from PS to PDF format using memorystream data c#
Hi, Sorry for the late response. You need to make sure that the MemoryStream you want to convert to PDF has a valid postscript signature. If you open that postscript in notepad, does it start with '%!'...
View ArticleNew Post: Additional information: An error occured when call to...
Hi, Thanks for reporting this, I will try to reproduce this problem and fix it for the next release. Cheers, Josip
View ArticleNew Post: Open files without a file extension?
Thanks for the hex output. This problem is sorted out in this commit: https://github.com/jhabjan/Ghostscript.NET/commit/a5c6d4a4128749242aef183dfc11efae7c38052e
View ArticleNew Post: get page with custom dimensions
Is there any ability to set custom page width and height when exporting pdf page to an image? Now I can only set custom dpi for x and y but it not affects on page size. I need to get images with at...
View ArticleNew Post: get page with custom dimensions
Hi, For this, you should use one of the image devices. Take a look at this example: https://github.com/jhabjan/Ghostscript.NET/blob/master/Ghostscript.NET.Samples/Samples/DeviceUsageSample.cs To change...
View ArticleNew Post: change image orientation.
Hello, I've converted some pdf files to jpg using Ghostscrpt. All is good, but the images are horizontal. How do I change the image orientation? First page is looking good:...
View ArticleNew Post: change image orientation.
Hi, Can you send me the PDF you are trying to convert to jpg? Cheers, Josip
View ArticleNew Post: change image orientation.
OK, I try with: http://sendfile.pl/259470/progr_rob_folie_kuka_6.pdf And I received:http://zapodaj.net/4fa748022d08b.png.html
View ArticleNew Post: Additional information: An error occured when call to...
Is there any update on the "An error occured when call to 'gsapi_new_instance' is made: -100" exception with GhostscriptRasterizer? I have the following method in a Web service with the last statement...
View ArticleNew Post: change image orientation.
Josip, any suggestions how to resolve this problem?
View ArticleNew Post: change image orientation.
Hi, The code and the PDF works fine for me. Pages are rasterized properly and they are all vertical. I was testing this with Ghostscript.NET v.1.1.9 and Ghostscript native library 9.14 ( both 64bit )....
View ArticleNew Post: change image orientation.
I try again install and I received: 'Ghostscript.NET 1.1.9' already installed. SlideShare already has a reference to 'Ghostscript.NET 1.1.9'. But I don't know how to install/download this: and...
View ArticleNew Post: change image orientation.
Ok I found. I have 8.64 version. How to upgrade to 9.14 version?
View ArticleNew Post: change image orientation.
Yep, that's the problem. You need to install latest native Ghostscript library. Download and install native Ghostscript library 9.14 from http://www.ghostscript.com/download/gsdnld.html If you have...
View ArticleNew Post: change image orientation.
It works:) Many thanks for your help. Best regards, M.
View Article