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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 LoadFromStreamPDF with wpViewPDF
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

tiagosis

Brazil
36 Posts

Posted - Apr 30 2021 :  19:23:36  Show Profile  Reply
hello, I'm doing tests using wpViewPDF Demo and
I realize that there is an extremely slow with "LoadFromStreamPDF" using pdfs with more than 10 pages, is there any way around this?

tiago

xequte

38128 Posts

Posted - May 03 2021 :  05:08:09  Show Profile  Reply
Hi Tiago

You might want to try the PDFium demo instead:

\Demos\Other\PDFViewer\PdfViewer.dpr
https://www.imageen.com/files/demos/run/Other/PDFViewer/PdfViewer.zip

TImageEnMView can fill slowly with large PDF files (e.g. >100 pages), but we'll have a fix for that in 10.0.1.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 03 2021 :  09:14:37  Show Profile  Reply
hello, I'm using imageen 8.1.2 and I haven't found the demo, could you post an example code using pdfium with stream?

tiago
Go to Top of Page

aleatprog

122 Posts

Posted - May 03 2021 :  11:34:51  Show Profile  Reply
Hi Tiago,

Pdfium based PdfViewer functionality is new and included in ImageEn 10.

Release information: https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=4903

Al
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 03 2021 :  15:17:45  Show Profile  Reply
i will proceed to update my license

tiago
Go to Top of Page

xequte

38128 Posts

Posted - May 03 2021 :  21:36:05  Show Profile  Reply
Thanks. Email us if you want a pre-release of 10.0.1

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 04 2021 :  21:03:15  Show Profile  Reply
I have a 44mb and 1800 sheets pdf, I updated the imageen and I have used Pdfium as proposed, the average opening time of this PDF is 1 minute and 30 seconds, is it possible to reduce this time? I try other solutions like the one from devexpress for example and it was practically instantaneous, but I can't redo all my routines in a short time

tiago
Go to Top of Page

xequte

38128 Posts

Posted - May 04 2021 :  23:17:54  Show Profile  Reply
Hi Tiago

Remove the TImageEnMView thumb viewer. Does it load quickly now? If so, 10.0.1 will fix it.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 05 2021 :  08:56:54  Show Profile  Reply
Hello, actually "ImageEnMView1.AssignPDFDocument" slows down, when removed it responded quickly ... I take the opportunity to ask how I can make my viewer display according to the attached print content, thanks.

Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 05 2021 :  10:40:32  Show Profile  Reply
I am not able to add new PDF pages in "ImageEnView1.PdfViewer" so I believe that I will really continue to need MView ... when will you make 10.0.1 available?

tiago
Go to Top of Page

xequte

38128 Posts

Posted - May 05 2021 :  17:42:35  Show Profile  Reply
Hi Tiago

10.0.1 will be ready over the next week or so. You can email me for a pre-release if you like.

The style you show above is continuous scrolling. It is on the to-do list.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 11 2021 :  07:50:36  Show Profile  Reply
hello xequte, 1.0.1 is now available?

tiago
Go to Top of Page

xequte

38128 Posts

Posted - May 12 2021 :  01:01:30  Show Profile  Reply
Hi Tiago

No, we are finalizing a few issues. It should be ready before the end of May.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 17 2021 :  12:05:42  Show Profile  Reply
hello check, I upgraded to 10.0.1 but unfortunately ImageEnMView.MIO.LoadFromStream() is still extremely slow, is there a solution for that? I thought 10.0.1 would be the fix for this problem but it was not.

tiago
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 17 2021 :  12:12:54  Show Profile  Reply
correcting,
ImageEnView1.MIO.LoadFromStreamPDF(stream)
it's still extremely slow, I really thought you said above that 10.0.1 would fix it, meanwhile my project continues to depend on it to be released.

tiago
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 17 2021 :  12:27:58  Show Profile  Reply
if correcting this is not possible, how can I do "ImageEnView1.PdfViewer.ImportPages" using streams?

tiago
Go to Top of Page

xequte

38128 Posts

Posted - May 18 2021 :  06:13:34  Show Profile  Reply
Hi Tiago

The optimization implemented in 10.0.1 was for for when a TImageEnView with active PDFViewer is attached to a TImageEnMView.

If you are only loading a PDF into TImageEnMView, then you should use:

http://www.imageen.com/help/TImageEnMView.LoadFromFileOnDemand.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

tiagosis

Brazil
36 Posts

Posted - May 18 2021 :  08:53:58  Show Profile  Reply
is that we do not work with files on disk, ondemand does not work for us, would it be possible to have "ImageEnView1.PdfViewer.ImportPages" using streams?

tiago
Go to Top of Page

xequte

38128 Posts

Posted - May 27 2021 :  20:52:09  Show Profile  Reply
Hi

For 10.0.2, TImageEnView.PdfViewer.ImportPages supports streams

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: