WriteableBitmapEx
WriteableBitmapEx copied to clipboard
Collection of extension methods for the XAML WriteableBitmap
Expected (no crop): [image](https://raw.githubusercontent.com/Vadkarika2/help/main/Screenshot%20(1102).png) Result (cropped): [image](https://raw.githubusercontent.com/Vadkarika2/help/main/Screenshot%20(1101).png) I can't realy explain this, so I provided screenshots instead... The library has been working good so far, just this one little thing!...
Ellipses render properly unless using AlphaBlend. Then we get these weird drawing artifacts at the top and bottom of the ellipses: Sample project: [WriteableBitmap.zip](https://github.com/reneschulte/WriteableBitmapEx/files/9737769/WriteableBitmap.zip)
Thanks for the excellent library! When drawing concentric circles on a wide image using `DrawEllipseCentered` the outer circles appear compressed/deformed. ```C# using (writeableBitmap.GetBitmapContext()) { var centreX = (int) (writeableBitmap.Width /...
This PR allows the users to draw and fill lines/shapes on the BitmapContext object without require to have a WriteableBitmap object.
For example BitmapContext The `public static void DrawLine(this WriteableBitmap bmp, int x1, int y1, int x2, int y2, int color, Rect? clipRect = null)` method simply calls the `public static...
I wonder if I do something wrong of there is a bug. Please look at the result obtained from simple modifications of you example: TextExample (attached image). ![2024-04-03 12_03_59-WriteableBitmapEx_All (Running)...
I try the sample WriteableBitmapEx.TextExample.csproj. The text appears coarse, without Anti-Aliasing, either if the method signature used ends with Aa: bmp.DrawTextAa(formattedText, 0, 100, Colors.Black,7); Is this a bug? Are you...
Using "Rotate"(and possibly on other functions) on bitmap with indexed pixel format results in System.AccessViolationException. .NET 4.6.1 ``` WriteableBitmap wb = new WriteableBitmap(256, 192, 96, 96, PixelFormats.Indexed8, BitmapPalettes.Gray256); var rotated...
I'm referencing these lines from the readme: ```cs // Line from P1(1, 2) to P2(30, 40) using the fastest draw line method int[] pixels = writeableBmp.Pixels; ``` When I write...
Hello, I want to use your library and I would like to have `DrawText` functionality. [Current NuGet version](https://www.nuget.org/packages/WriteableBitmapEx) `1.6.8` is does not contain this functionality. Would be possible to update...