Link Search Menu Expand Document

Convert PDF to Bitmap 7168 pixels wide and 150 dpi

The PDF Renderer SDK can generate a 7168 wide bitmap from a PDF. This will only require that your application works in a 64-bit mode. Please see the sample code below:

// Load PDF document.
renderer.LoadDocumentFromFile("sample.pdf");

for (int i = 0; i < renderer.GetPageCount(); i++)
{
    // Render first page of the document to BMP image file.
    renderer.Save("image" + i + ".bmp", RasterImageFormat.BMP, i, 7168,-1, new RenderingOptions() { ResolutionOverride = 150 });
}

Copyright © 2016 - 2021 ByteScout