Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET Core unable to find BitmapImageCreator #19

Open
wstaelens opened this issue Mar 12, 2020 · 0 comments
Open

.NET Core unable to find BitmapImageCreator #19

wstaelens opened this issue Mar 12, 2020 · 0 comments

Comments

@wstaelens
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant