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 : Thursday, June 18, 2020 11:15:10 AM(UTC)
Abdul Rahman

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.InitialPath

Thanks,
Abdul Rahman
 

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 : Friday, June 19, 2020 2:58:55 PM(UTC)
Marcus Andra

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.
LEAD Logo
 
#3 Posted : Friday, June 19, 2020 6:46:30 PM(UTC)
Abdul Rahman

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.

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