We released Jpeg2000.Net 2.3 with fixes for AOT compatibility issues and trim warnings. The new version is available on our site and on NuGet.
More information:https://bitmiracle.com/blog/native-aot-jpeg2000