Skip to content

.NET Core unable to find BitmapImageCreator #19

Description

@wstaelens

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions