|
Mike,
There are multiple .NET assemblies and dependency DLLs in
LEADTOOLS 15. Try to remove all LEADTOOLS code from your project and only keep
Leadtools.DLL, and add this code:
Leadtools.RasterImage img =
new
Leadtools.RasterImage(
Leadtools.RasterMemoryFlags.Conventional,
800, 600, 24,
Leadtools.RasterByteOrder.Bgr,
Leadtools.RasterViewPerspective.TopLeft,
null, IntPtr.Zero,
0);
int w = img.Width, h = img.Height;
This creates a blank LEAD image in memory that is 24 bits
per pixel with size 800 x 600 pixels. This does not require any other LEADTOOLS
assemblies.
If this code works, but other features fail, it could be
because other assemblies are needed. For example, to load or save JPEG2000
images (from file or memory), you will need Leadtools.Codecs.dll
and Leadtools.Codecs.J2k.dll.
|