Stalker4
Ukraine
25 Posts |
Posted - Jun 01 2022 : 03:49:22
|
Hi,
ImageEn 10.3
1) 1.1) I open PDF in \Demos\Other\PDFViewer\PdfViewer.dpr I turn on the "Show All Pages" mode and the scale - 100%. See the result at p1.jpg
1.2) there is such a PDFiumReader project https://github.com/tothpaul/pdfiumreader/tree/master/src
As I understand it, he uses the same pdfium.dll library as you, only created a COM-wrapper for it.
We take their viewing program PDF (PDFiumReader.exe), open the same PDF-file, and set the scale - 100%. See the result at p2.jpg
1.3) How can you notice your scale of 100% noticeable than that of PDFiumReader. For comparison, here you have an image (p3.jpg) of the same file on a 100% scale from Acrobat Reader. It also shows that your scale is 100% narrower than in Acrobat Reader.
Question: Can you finalize your scaling procedure for PDF files so that it is closer to the original (like Acrobat Reader or PDFiumReader) ?
2) There is a multi-page PDF file (30 pages, A4, each page is a scanned sheet of a document in the form of a JPG image). If this file is in PDFViewer (in the "Show All Pages" mode and the scale - 100%) and in PDFiumReader(scale - 100%), then scrolling with a file of file sheets, in PDFiumReader is noticeably faster and smooth. But PDFViewer and PDFiumReader are essentially used the same library (pdfium.dll) to view PDF.
Question: Is it possible to accelerate scrolling (scroll) PDF-file in Imageen?
attach/Stalker4/20226135228_image.zip 211.61 KB |
|