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 : Tuesday, May 28, 2019 2:40:37 PM(UTC)

myurkus  
myurkus

Groups: Registered
Posts: 2


On my first call (“RasterCodec.Load(ms)”) I receive an exception "The Leadtools.Codecs.Bmp.dll library is missing."

It seems that it always returns an exception. (For instance, if I pass it a JPG, it complains about that [the Cmp] library.) I think it is just the first call, no matter what it is.

Naturally, I tried adding that reference, but that did not work. In addition, based on forum and help posts online, I compared the demo app and made sure all of the references are included. I also copied everything from the demo output directory into my project’s directory just to be safe. No matter what I seem to do, it complains about this.

Any ideas?
 

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 : Tuesday, May 28, 2019 3:34:37 PM(UTC)
Christopher Thompson

Groups: Tech Support, Administrators
Posts: 60

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

The various Libraries that the application is looking for is based on the File Format dlls.
The LEADTOOLS SDK has a series of Leadtools.Codecs.*.dll where the * represents the file format specific libraries.

Depending on the file format that you will be working with, then those various libraries need to be referenced.
So when switching between file formats that you want to work with, all of them will need to be referenced.

This is a link to our LEADTOOLS Forums that shows how to use the RasterCodecs Load and Save in a .NET application.

The downloadable project will have some of these file format Dlls included.
However, you may need to add others depending on your development needs.

If you are working with a .NET application, then the references will be located in either:

C:\LEADTOOLS 20\Bin\Dotnet4\Win32
OR
C:\LEADTOOLS 20\Bin\Dotnet4\x64

It also looks like you are referencing "RasterCodec.Load()" instead of potentially using "RasterCodecs.Load()" with an 's'

Chris Thompson
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
#3 Posted : Tuesday, May 28, 2019 3:51:52 PM(UTC)

myurkus  
myurkus

Groups: Registered
Posts: 2


Thank you for the response. However, the problem seems to be deeper than that. I already tried adding all references, no references, references from different locations (in the LeadTools directory and copied over to my project directory) and nothing seems to work.

I just downloaded and tested the application from the link you sent me and that works just fine. So this time I made sure that my References exactly match the example. In addition, I broke it down to the two lines of code from the sample.

Unfortunately I still receive the library is missing error.
 
#4 Posted : Wednesday, May 29, 2019 7:23:18 AM(UTC)
Christopher Thompson

Groups: Tech Support, Administrators
Posts: 60

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


It looks like you came into our Live Chat and had a case created regarding this same issue.
We will continue to work with you through the case.
Chris Thompson
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-2019, Yet Another Forum.NET
This page was generated in 0.153 seconds.