Here, I am calling Pdf2ImageConversion method which contains 2 parameters in which the first parameter is the name of the file and the second parameter is PdfFolder path. First, I am storing the original PDF in PdfFolder.
Mac jpg to pdf without compression pdf not blurry install#
The reason behind is that while converting the PDF file to an image file, we need Ghostscript in our computer and to access the Ghostscript properties, we have to install it in our Visual Studio Solution. You might get confused here that if I already have installed the Ghostscript in my Solution, then what is the need of installing it again.
Please refer this link and always install and use the latest version. Please install Ghostscript in your computer according to its bit rate, that is32/64 bit.Ghostscript is an interpreter for the PostScript language and for PDF.įirst, we need to add Ghostscript in our solution by going to the Package Manager Console or we can add its dll file directly in reference of our Solution.Īfter you have installed the GhostScript in your application, please check in your reference whether it exists or not.Īfter that, design your UI like the below image.Īnd, create two new folders in that Solution with the names - PdfFolder and ImgFolder respectively.