ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Some comments on the viewing of PDF in TimageenView

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Stalker4 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
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 04 2022 : 20:51:03
Hi

1. In versions before 11, we displayed PDF pages at the default PDF resolution (72DPI). From 11.0 we use the system resolution (usually 96DPI). You should download the new version.

You can set your preferred resolution using IEGlobalSettings().PdfViewerDefaults.DPI:

https://www.imageen.com/help/TIEGlobalSettings.PdfViewerDefaults.html


2. Scrolling is handled by the control, not PDFium. You can adjust the scroll handing of TImageEnView using:

https://www.imageen.com/help/TIEView.VScrollBarParams.html

Or if you mean with the mouse wheel:

https://www.imageen.com/help/TIEView.MouseWheelParams.html

Nigel
Xequte Software
www.imageen.com