This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, December 4, 2011 9:39:53 PM(UTC)
Groups: Registered
Views messages in topic : 33
i am trying to load text file ppt and xls file using
codecs.load(".txt ") and wanted to display the text file ,ppt or xls files on RasterImageViewer
i am facing 2 problem
1) loading is very slow it take 25 to 30 sec to load and display
2) display image is also not clear
Thanks & Regards
Samit
#2
Posted
:
Monday, December 5, 2011 7:13:59 AM(UTC)
Groups: Registered, Tech Support
Posts: 1,326
Was thanked: 1 time(s) in 1 post(s)
Samit,
1. LEADTOOLS provides support for loading document formats (such as XLS and PPT) as raster images (rasterization). Loading time depends on different factors, such as the original file size, the loading resolution and the loading bits per pixel. So if the document contains many objects, the rasterization process will take long time.
2. You can improve the quality of the images by increasing the loading resolution when loading documents. You can do this by using the following code:
+-------------+
Dim codes As New Leadtools.Codecs.RasterCodecs
codes.Options.RasterizeDocument.Load.XResolution = 300
codes.Options.RasterizeDocument.Load.YResolution = 300
Dim XLSImage As RasterImage = codes.Load("C:\Worksheet.xls")
+-------------+
Please note that increasing the resolution will also increase the required memory for the image and might affect the loading speed even more.
Thanks,
Maen Badwan
LEADTOOLS Technical Support
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.