c# - SystemOutOfMemory exception after working with Stream -
This function rotates the image stream at 90 degrees, after calling it 5-6 times on Windows Phone, give me the I know that the problem in that function, when I'm not calling - all work fine. Try to use it: SystemOutOfMemory exception
got private writeable bitmap _rot (stream stream) found {var bmp = new bitmapImage (); Bmp.SetSource (stream); Var src = new writable bitmap (BMP); Var w = src.PixelWidth; Var h = src.PixelHeight; Var p = src.Pixels; Var dst = new writable bitmap (h, w); Var i = 0; Var RP = DST. Pixel; For (var x = 0; x
Compile (); GC.WaitForPendingFinalizers ();
Comments
Post a Comment