Wordize for .NET converts PDF pages to BMP images with high-quality rendering. The Converter class transforms PDF documents to BMP format while preserving all visual elements.
Module Requirements:Test PDF to BMP conversion using our interactive online demo. Upload your PDF file, run the conversion, and download high-quality BMP images. The provided C# code is ready for integration into your .NET project.
using Wordize.Conversion;
using Wordize.Saving;
var imageStreams = Converter.ConvertToImages("Input.pdf", new ImageSaveOptions(SaveFormat.Bmp));
foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i)))
{
using var _ = stream;
stream.Position = 0;
using var file = File.Create($"Output_{page + 1}.bmp");
stream.CopyTo(file);
}
using Wordize.Conversion;
Converter.Convert("{{input1}}", "{{output}}");
using Wordize.Conversion;
using Wordize.Saving;
var imageStreams = Converter.ConvertToImages("{{input1}}", new ImageSaveOptions(SaveFormat.{{saveFormat}}));
foreach (var (stream, page) in imageStreams.Select((s, i) => (s, i)))
{
using var _ = stream;
stream.Position = 0;
using var file = File.Create($"Output_{page + 1}.{{outputExt}}");
stream.CopyTo(file);
}
using Wordize.Conversion;
using Wordize.Saving;
ImageSaveOptions saveOptions = new ImageSaveOptions(SaveFormat.{{saveFormat}});
saveOptions.PageLayout = MultiPageLayout.Vertical(10);
Converter.Create()
.From("{{input1}}")
.To("{{output}}", saveOptions)
.Execute();
Add Wordize SDK to your .NET project
Call the Converter.Convert() method, specifying input and output file names as parameters. Formats are automatically detected based on file extensions
Get the BMP file