The Syncfusion® native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi thanks could you show me how to save multiple images from stream extracted from pdf with multiple pages also how images could be saved to reflect each page.
Regards
Edmund Herbert
KGKrithika Ganesan Syncfusion Team July 12, 2024 01:30 PM UTC
Hi Edmund,
We can save the
resulting `stream[]` as multiple images using the code snippet and sample we
have attached below. By combining all the images into a ZIP file, we enable the
downloading of that ZIP file.
using
(MemoryStream ms = new MemoryStream())
{
ms.Position = 0;
//required: using System.IO.Compression;
using
(var zip = new System.IO.Compression.ZipArchive(ms, ZipArchiveMode.Create,
true))