LEADTOOLS Support
General
General Questions
Leadtools.RasterException: Error reading file
#1
Posted
:
Wednesday, June 30, 2021 2:40:02 AM(UTC)
Groups: Registered
Posts: 5
Leadtools.RasterException: Error reading file
during codec.Load() method
how to solve it in c# code
Thanks
Sumit
#2
Posted
:
Wednesday, June 30, 2021 10:50:40 AM(UTC)
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.
#3
Posted
:
Thursday, July 1, 2021 3:58:17 AM(UTC)
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)
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.
LEADTOOLS Support
General
General Questions
Leadtools.RasterException: Error reading file
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.