writeablebitmapex FillEllipseCentered with center out of boundary

I have writeablebitmap with width and height equal to 580, i need to draw a circle in it. So i will use bmp.FillEllipseCentered(290,290,290,290,color); I need to zoom this circle by scaling facto...

Id #22517 | Release: None | Updated: Apr 4 at 7:22 AM by saravanadeva92 | Created: Apr 4 at 7:22 AM by saravanadeva92

SetPixel(x,y,color) alpha misbehaves

I wrote a simple piece of code that changes color of icons while keeping the pixels opacity. However SetPixel(x,y,color) and SetPixel(x,y,a,color) and .ForEach((x, y, color) =>{} misbehaved as tran...

Id #22299 | Release: None | Updated: Jun 26, 2016 at 11:13 PM by MTProg | Created: Jun 26, 2016 at 2:07 AM by MTProg

DrawRectangle clipping and pixbuffer check

DrawRectangle misbehaves with respect to the following issues it is easily possible to get WriteableBitmap with Width, Height not matching pixel buffer. For example when loading a bitmap from stre...

Id #22244 | Release: None | Updated: Apr 18, 2016 at 8:36 AM by mneumann | Created: Apr 18, 2016 at 8:36 AM by mneumann

DrawLineAa causes AccessViolationException

I have a WriteableBitmap of Width 512, Height 480 but I believe this problem happens on any WriteableBitmap. When I draw a line such as 0,480 to 500,480 with a stroke thickness greater than 1, I g...

Id #22105 | Release: None | Updated: Dec 5, 2015 at 6:35 AM by sbarnes | Created: Dec 5, 2015 at 6:35 AM by sbarnes

AAWidthLine IndexOutOfRange

WriteableBitmapEx Version 1.5.0, WinRT Windows running on W10 The following code produces IndexOutOfRangeException bitmap extent [w=1737, h=3855], color is black FF000000 int height = cont...

Id #22063 | Release: None | Updated: Apr 18, 2016 at 2:41 PM by mneumann | Created: Oct 30, 2015 at 9:59 PM by mneumann

Resize throws System.AccessViolationException

I am trying to resample ~6MB images in a Universal App using WriteableBitmapEx. After loading the image using SetSource() I call Resize(NearestNeighbor), which always throw a System.AccessViolation...

Id #21885 | Release: None | Updated: Jun 26, 2015 at 8:03 PM by mathieusoleil | Created: May 28, 2015 at 9:31 PM by SmnPrr

SetPixel(x, y, a, r, g, b) overload is bugged

Hi, I've just lost 2 hours search a bug in an algorithm and finally found that the problem is SetPixel(x, y, a, r, g, b) overload. Seems that there is a lost of precision that in some cases transfo...

Id #21874 | Release: None | Updated: May 19, 2015 at 7:02 PM by Kipter | Created: May 19, 2015 at 1:43 PM by FrayxRulez

WPF WriteableBitmapExtensions.Resize incorrect alpha value in the final picture

For source bitmap with alpha channel WriteableBitmapExtensions.Resize(BitmapContext srcContext, int widthSource, int heightSource, int width, int height, Interpolation interpolation) returns incor...

Id #21828 | Release: None | Updated: Apr 30, 2015 at 11:26 AM by vitslp | Created: Apr 30, 2015 at 11:26 AM by vitslp

WriteableBitmaps from BitmapImages located outside of Assets folder

Hello. Do these methods only work on images stored in the Assets folder of the app? Currently I have an BitmapImage that is set using a RandomAccessStream rather than a Uri, then found out this was...

Id #21798 | Release: None | Updated: Apr 2, 2015 at 8:07 PM by craig91 | Created: Apr 2, 2015 at 8:07 PM by craig91

Bug in Blit function for WPF

Hello, there is bug in Blit function, when using BlendMode.Alpha. instead of code if (blendMode == BlendMode.Alpha) { ...

Id #21788 | Release: None | Updated: Mar 29, 2015 at 11:01 AM by dbshell | Created: Mar 21, 2015 at 10:12 AM by dbshell