locked
Extract a portion of an image using C# Winrt

    Question

  • It looks like Bitmap has been removed from C#/WinRT? If I cannot use Bitmap in a Universal App, what is the equivalent for the code below?

    Bitmap cards = new Bitmap(@"C:\SomePath\");
    Rectangle srcRect = new Rectangle(0, 0, 100, 100);
    Bitmap card = (Bitmap)cards.Clone(srcRect, cards.PixelFormat);
    

    Thursday, July 3, 2014 11:25 AM

Answers