Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, June 30, 2021 2:40:02 AM(UTC)
sumeet2021

Groups: Registered
Posts: 5


Leadtools.RasterException: Error reading file
during codec.Load() method
how to solve it in c# code


Thanks
Sumit
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Wednesday, June 30, 2021 10:50:40 AM(UTC)

Nick  
Nick

Groups: Registered, Tech Support, Administrators
Posts: 163

Was thanked: 9 time(s) in 9 post(s)

Hello,

Could you clarify the conditions under which this is occurring or post a screenshot? Is this a file type supported by LEADTOOLS and does your application have access to the corresponding codec files? Also, ensure no other open application has a handle open to the path being passed in to RasterCodecs.Load().
Nick Crook
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
#3 Posted : Thursday, July 1, 2021 3:58:17 AM(UTC)
sumeet2021

Groups: Registered
Posts: 5


During merging two or more files , getting error..
Console application in c#, running by task scheduler..
sometimes codesc.save() , getting error
codesc image converting to .pdf, getting error.

stacktrace : Leadtools.RasterException.CheckErrorCode(Int32 code) at Leadtools.Codecs.RasterCodecs.SaveOnePage(Int32 pageNumber, SaveParams saveParams) at Leadtools.Codecs.RasterCodecs.DoSave(SaveParams saveParams) at Leadtools.Codecs.RasterCodecs.Save(RasterImage image, String fileName, RasterImageFormat format, Int32 bitsPerPixel)
 
#4 Posted : Thursday, July 1, 2021 9:00:52 AM(UTC)

Nick  
Nick

Groups: Registered, Tech Support, Administrators
Posts: 163

Was thanked: 9 time(s) in 9 post(s)

I am going to need more information than this. Is it possible to reproduce this in the LEADTOOLS Main Demo? If so, could you furnish us with the file you're attempting to open? Otherwise, it'll be necessary for us to reproduce this locally to move forward.
Nick Crook
Developer Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 
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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.064 seconds.