Issue with loading thumbnails with RasterThumbnailBrowser
Started by addie at 06-19-2008 6:04. Topic has 8 replies.
|
|
06-19-2008, 6:04
|
addie
Joined on 06-19-2008
Posts 5
|
Issue with loading thumbnails with RasterThumbnailBrowser
|
 
 
|
|
|
The code I am running is almost a copy paste of the sample (ThumbnailBrowserDemo in VB.Net) that comes with the installation. Only that I have created a different project.
The problem is the Thumbnails are not generated instead I am only seeing the default errorthumbnails.
When I added the same code to a form in the demo project the Thumbnails are generated.
I have checked the References and I have included all of the Leadtools.dll , Leadtools.Codecs.dll and Leadtools.Winforms.dll to my new project
Also attached is the code that is creating the problem.
Any direction will be helpful.
I am using VS 2008, 9.0.21022.8 RTM
and Leadtools 15
|
|
|
|
|
Report
|
|
|
|
06-19-2008, 12:06
|
Adnan Ismail

Joined on 07-31-2006
Posts 1,150
|
Re: Issue with loading thumbnails with RasterThumbnailBrowser
|
 
 
|
|
|
There is no attachment with your post. When you want to attach any files, please put them all in ZIP or RAR file. Also, don't use preview when you have attachment. If you are attaching your project, please remove the 'Bin' folder.
If you have any problem in attaching files to the forum, you can send the files in a ZIP of RAR file to support@leadtools.com. Don't forget to mention this forum post in your email to support.
Adnan Ismail LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|
06-20-2008, 0:26
|
addie
Joined on 06-19-2008
Posts 5
|
Re: Issue with loading thumbnails with RasterThumbnailBrowser
Attachment: thumbnail.txt
|
 
 
|
|
|
hey didn't know that I cannot do a preview when I have attachment. Maybe that's the case. Thanks for pointing that out.
I am re-attaching the text file. This is not the entire project. Just the piece of code which tries to create the thumbnail.
The UI has a panel in which I attach the RasterThumbnailBrowser, and that it.
|
|
|
|
|
Report
|
|
|
|
06-23-2008, 2:49
|
Adnan Ismail

Joined on 07-31-2006
Posts 1,150
|
Re: Issue with loading thumbnails with RasterThumbnailBrowser
|
 
 
|
|
|
Is it possible that you put your code in a small test project that shows the problem?
Adnan Ismail LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|
06-23-2008, 9:08
|
addie
Joined on 06-19-2008
Posts 5
|
Re: Issue with loading thumbnails with RasterThumbnailBrowser
Attachment: Test.zip
|
 
 
|
|
|
Please find the attached project.
|
|
|
|
|
Report
|
|
|
|
06-24-2008, 11:56
|
Adnan Ismail

Joined on 07-31-2006
Posts 1,150
|
Re: Issue with loading thumbnails with RasterThumbnailBrowser
|
 
 
|
|
|
The images you try to load are PostScript file format. To be able to load them, you need to use the LEADTOOLS PDF engine plug-in, add reference to Leadtools.Pdf.dll and Leadtools.Codecs.Pdf.dll DLLs in your application. Also, you need to set the PDF engine path in your application using the InitialPath property. I added the following line to your application and I was able to show the files: Dim codecs As Leadtools.Codecs.RasterCodecs = New Leadtools.Codecs.RasterCodecs() codecs.Options.Pdf.InitialPath = "C:\Program Files\LEAD Technologies\LEADTOOLS 15\Bin\Common\PDF"
Adnan Ismail LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|
06-25-2008, 2:39
|
addie
Joined on 06-19-2008
Posts 5
|
Re: Issue with loading thumbnails with RasterThumbnailBrowser
|
 
 
|
|
|
Thanks a heap man, that resolves my issue.
One thing more, what do I do for viewing .pst files. Your suggestion worked fine for .pdf and .ps files. But the .pst files thumbnails are still not generated.
|
|
|
|
|
Report
|
|
|
|
06-25-2008, 12:20
|
Adnan Ismail

Joined on 07-31-2006
Posts 1,150
|
Re: Issue with loading thumbnails with RasterThumbnailBrowser
|
 
 
|
|
|
Is PST is a valid image format? I'm only familiar with MS Office Outlook Personal Folders PST files, which are not image files. If your PST files are different and our toolkit does not load them, can you send me a small sample file? If you want to send the file, please make sure to put it in a ZIP or RAR file. If you do not want to post it here, you can email it to support@leadtools.com and mention this post in the email.
Adnan Ismail LEADTOOLS Technical Support
|
|
|
|
|
Report
|
|
|
|
07-16-2008, 3:40
|
addie
Joined on 06-19-2008
Posts 5
|
Re: Issue with loading thumbnails with RasterThumbnailBrowser
|
 
 
|
|
|
Firstly my apologies for the delayed respones and secondly you were right in terms of the pst file format. So no issues as such :-)
|
|
|
|
|
Report
|
|
|
|
|
LEAD Support Fo... » Developer » DotNet » Issue with loading thumbnails with RasterThumbnailBrowser
|
|
Copyright LEAD Technologies, Inc. 2008
