Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Loading multi page tiffs - pages missing
Started by riggson at 06-17-2008 8:20. Topic has 1 replies.

Print Search « Previous Thread Next Thread »
  06-17-2008, 8:20
riggson is not online. Last active: 5/27/2008 11:23:02 AM riggson

Top 500 Posts
Joined on 05-23-2008
Posts 11
Loading multi page tiffs - pages missing
Reply Quote
Hi.

I have some problems with loading multi page files in the Document Suite v15. If I try to load a multi page file with this simple code

RasterCodecs.Startup()
Dim c As New RasterCodecs

Try
 If My.Computer.FileSystem.FileExists(strPath) Then
  Return c.Load(strPath, 0, CodecsLoadByteOrder.BgrOrGray, 1, -1)
End If
Catch ex As Exception
 Throw
End Try

the file sometimes is not loaded with all pages. I can't reproduce this error. Is it possible this results on loosing the network connection on a shared volume without throwing an exception from the codecs.load function? All files are located on a server and I try to access to the file by the ip adress (e.g. "\\192.168.0.2\myFiles\my.tif").

Thank you for your help
Riggson

   Report 
  06-17-2008, 17:14
GregR is not online. Last active: 10/10/2008 11:46:18 AM GregR



Top 10 Posts
Joined on 05-31-2006
In House
Posts 1,621
Re: Loading multi page tiffs - pages missing
Reply Quote
What is the file version of Leadtools.dll that you are using?

To my knowledge, it shouldn't make a differnce if the file is on a network share or hard disk.  However, it would be worth trying on a hard disk to help rule that possibility out.

Does this seem isolated to individual images or does it seem random?  In other words, if you were to try loading the same page multiple times, would the same problem occur each time?  If it's isolated to images, please send me an image that causes this problem.

NOTE: If you are attaching a project or file to the forums...
1.) Zip the file(s) up.
2.) Make sure it is less than 5 MB.  If it is larger, please send an email to support@leadtools.com and we'll send you FTP instructions.
3.) Remove ANY AND ALL unlock codes and LEADTOOLS DLLs.
4.) Do not click the preview button, the attachment will not show up when you post it.
 
If you do not wish to post your file(s) on the forum since they are publically viewable, please send an email to support@leadtools.com and make sure that you include a link to this forum post.


Greg Ross
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Developer » DotNet » Loading multi page tiffs - pages missing

Powered by Community Server, by Telligent Systems