Directory Image
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.

Converting pdf to image in c#

Author: Pdf Document
by Pdf Document
Posted: Dec 17, 2018

Convert pdf to image using C# and VB.NET in any programming of your Winforms, WPF and ASP.NET web applications.

Converting pdf to jpg in c#, the iDiTect.Converter provide jpg compressor embedded in the c# library. output the jpeg image will take the smaller size, and contains the full information of the original pdf document.

C# sample code for pdf to jpeg conversion:

PdfToImageConverter converter = new PdfToImageConverter();

converter.Load(File.ReadAllBytes("sample.pdf"));

//Default is 72, the higher DPI, the bigger size out image will be

converter.DPI = 96;

//The value need to be 1-100. If set to 100, the converted image will take the

//original quality with less time and memory. If set to 1, the converted image

//will be compressed to minimum size with more time and memory.

converter.CompressedRatio = 80;

for (int i = 0; i

About the Author

Convert pdf to image using C# and VB.Net in any programming of your Winforms, Wpf and Asp.Net web applications.

Rate this Article
Leave a Comment
Author Thumbnail
I Agree:
Comment 
Pictures
Author: Pdf Document

Pdf Document

Member since: Dec 14, 2018
Published articles: 3

Related Articles