简体   繁体   中英

BitmapImage in .NET Core 2.0

I am porting .NET Framework project to .NET Core 2.0 but I have struggles with the BitmapImage class. I know that BitmapImage in .NET Framework is part of PresentationCore assembly but in .NET Core I could not add any of these. Also, I have searched for a package that supports it but could not find any, too. In .NET Framework it is part of System.Windows.Media, but there is no such package for .NET Core.

Do you have any ideas how I can solve this issue?

System.Drawing is now ported to .Net Core so you should be able to get access to that reference. Here is some 3rd party libraries that have implemented it: https://blogs.msdn.microsoft.com/dotnet/2017/01/19/net-core-image-processing/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM