Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am developing an image processing app for windows 10. I have searched online related to the image processing. I have found many resources that use Bitmap class for manipulating images. But in uwp, there is no such class exists. When I try to use it in my code, it says Generate Bitmap class.

Is there any alternative to this class in uwp?

Or I am missing any reference of Bitmap class?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
688 views
Welcome To Ask or Share your Answers For Others

1 Answer

I was developing an app not so long ago that needed the features of the Bitmap class. I sadly realized as you just did that it's not available under WinRT/UWP. All we have is Bitmap, WriteableBitmap as Edgaras suggested, and - thank the heavens- WriteableBitmapEx. It's a very good library providing a lot of image processing functions. It helped me a lot and solved all of my problems. Hope it will help you too!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...