|
Our
RasterImageViewer takes more time because it loads every page, converting it to
raster (bitmap) image, this process takes time and it is different than what
Acrobat Reader is doing.
Acrobat
Reader keeps the document in its original format, and I don't know whether it
loads all pages into memory at once or not.
If
you want to reduce memory needed, and also speed the loading process, you can
decrease the DPI value but this will reduce the quality of the image.
Another
approach which might be better, depending on your application, is not to load
all pages to memory at once. Instead, load one or more pages as needed, display
or process that page or pages, and when other pages are needed you can load
them alone without the need to begin from page 1. This means you can do 100
separate load operations instead of one long call.
Adam Boulad LEADTOOLS Technical Support
|