#1
Posted
:
Thursday, June 18, 2020 11:15:10 AM(UTC)
Groups: Registered
Posts: 60
I'm trying to load PCX file using RasterCodes in my Asp.Net Core 3.1. Here is my code.
Code:
using (RasterCodecs acodecs = new RasterCodecs())
{
acodecs.Options.Pdf.InitialPath = @$"{currentPath}\C DLL";
string input = @$"{currentPath}\ffc.pcx";
RasterImage image = acodecs.Load(input);
}
I get the following exception -
The lfPcxX.DLL library is missing.. I tried adding
Leadtools.Codecs.Pcx.dll from
C:\LEADTOOLS 20\Bin\Dotnet4\x64 to my project. But still issue persists. Please assist on how to fix this. Any DLL Path needs to be referenced like
Pdf.InitialPathThanks,
Abdul Rahman
#2
Posted
:
Friday, June 19, 2020 2:58:55 PM(UTC)
Groups: Registered, Manager, Tech Support, Administrators
Posts: 107
Was thanked: 9 time(s) in 9 post(s)
Hi Abdul,
Thanks for reaching out to us about this. I was able to test this file format in a .NET Core application, and was able to get this file loaded by including the
Leadtools.Formats.Raster.Additional NuGet package.
The DLLs you'll be using in the .NET Core platform are only found through NuGet. Please try adding this in your project and let me know if this issue persists.
Thanks,
Marcus Andra
Developer Support Engineer
LEAD Technologies, Inc.
#3
Posted
:
Friday, June 19, 2020 6:46:30 PM(UTC)
Groups: Registered
Posts: 60
Thanks Marcus. That resolved the issue.
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.