-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
The file when saved in .bmp format can be opened in windows.
- But the size of the file is unnecessarily huge.
- I used this wrapper in Unity and the resulting file cannot be imported in Unity. Also the file cannot be opened in few viewers.
Example resulting file,
https://drive.google.com/file/d/1m2uUGsMVcH6DDb9J30v82EVIY4szu-Mn/view?usp=share_link
var pdfDocument = new PdfDocument(url);
var page = pdfDocument.Pages[pgNo];
var pageBitmap = new PDFiumBitmap(2000, 2800, true);
page.Render(pageBitmap, PageOrientations.Normal);
pageBitmap.Save(Application.persistentDataPath + @"\Test.bmp", 300, 300);
Metadata
Metadata
Assignees
Labels
No labels