[gdal-dev] JP2OpenJPEG GDAL nuget for both Windows and Linux
Paul Harwood
runette at gmail.com
Wed Dec 15 03:12:54 PST 2021
Not a NUGET package ...
But there is a Conda package which loads the C# bindings on Windows / Mac /
Linux :
see https://gdal.org/api/csharp/csharp_conda.html
It is in Conda since it is a wrapper for the Conda GDAL build - which means
it is the latest version, it is multiplatform and includes the largest set
of drivers (including the one that you want)and there is all of the
benefits of the automatic build toolchain.
The downside is that you need to have Conda and you need to do a bit more
manual work to get the assemblies into your build.
The first is not a great overhead - just use miniconda :
https://docs.conda.io/en/latest/miniconda.html
The manual pages I linked above give some details about the assemblies that
need to be linked. If you are using VS - you just need to add the
assemblies into the project. You will also need to wrangle the dependency
DLLs if you are building to be distributed to other machines or are
building a GUI app - but it is always good to do that manually anyway.
On Tue, 14 Dec 2021 at 23:56, Jesús de Diego Alarcón <jesdial at gmail.com>
wrote:
> Dear all
>
> I would like to integrate GDAL in a C# application using the C# bindings.
> In addition, the solution can be deployed both on Linux and Windows. I am
> using .NetCore 3.1. The last requirement: the application shall be able to
> read JP2OpenJPEG images. JP2OpenJPEG
>
> I have tried some Nuget packages in Visual Studio... but most of them do
> not implement the JP2OpenJPEG driver and/or do not are available for Linux
> and Windows. Do you know any Nuget package that can match my requirements?
>
> Thank you in advance
>
> --
> Jesús de Diego Alarcón
> jesdial at gmail.com
>
> "La vida es linda, lo malo es que muchos confunden lindo con fácil."
> Mafalda
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211215/0ec7af0e/attachment.html>
More information about the gdal-dev
mailing list