I had to use the CSJ2K.NetCore nuget package instead of the CSJ2K nuget package in order to be able to use CSJ2K.Util.BitmapImageCreator.Register();.
Is this normal that you have to use the .NetCore nuget package to be able to use BitmapImageCreator on .NET Core 3.1? As I was not able to find this in the CSJ2K package.
The first line of this code doesn't build when using the CSJ2K package because BitmapImageCreator is not found:
CSJ2K.Util.BitmapImageCreator.Register();
bmp = CSJ2K.J2kImage.FromBytes(data).As<Bitmap>();
(I'm using Microsoft.WindowsDesktop.App as Framework dependency)
I had to use the CSJ2K.NetCore nuget package instead of the CSJ2K nuget package in order to be able to use
CSJ2K.Util.BitmapImageCreator.Register();.Is this normal that you have to use the .NetCore nuget package to be able to use BitmapImageCreator on .NET Core 3.1? As I was not able to find this in the CSJ2K package.
The first line of this code doesn't build when using the CSJ2K package because BitmapImageCreator is not found:
(I'm using Microsoft.WindowsDesktop.App as Framework dependency)