New Post: create polygon with float cordiantes
No. For performance reason are absolute coordinates expected as int.Rene
View ArticleNew Post: Convolute / Invert changes WriteableBitmap DPI
Sounds like WPF. Yes, you can convert after the operation. See the BitmapFactory class in the source code to get an idea how that works with the FormatConvertedBitmap class. You can also compile your...
View ArticleNew Post: SetSource with BMP file
This has to do with the WriteableBitmap base class, but I was hoping someone could answer my question: Why does this code work for PNG and JPG files but not BMP? WriteableBitmap wb = new...
View ArticleNew Post: SetSource with BMP file
The BitmapImage / WB does not support BMP. But BMP is easy enough to parse, so you can roll your won Bmp Reader or use an open source one. I'm pretty sure someone wrote a BitmapImage / Wb method that...
View ArticleNew Post: can increase line thickness?
Not possible right now. You can vote for this feature here: https://writeablebitmapex.codeplex.com/workitem/17046rene
View ArticleNew Post: WriteableBitmap Shift
For a WPF project, I used 3 writeablebitmaps and the Blit method to accomplish something similar in an overridden OnRender method. First, I crop the original writeablebitmap, "wbm" and make that the...
View ArticleNew Post: FillPolygon alpha not working on Windows Phone8
Hi, for some reason WriteableBitmap.FillPolygon(path.Points, c); with c beeing {#00FFFFFF} draws a black figure. With c = {#BEFFFFFF} it is a slightly gray square and #FFFFFFFF is white. I clear the...
View ArticleNew Post: Is it possible to write text?
I'm seeing this too. My code is on WP8. I am using Resize to resize a WritableBitmap. If I render a textblock onto the WritableBitmap that is returned from resize I get a black rectangle with my text...
View ArticleNew Post: Is it possible to write text?
BTW, using blit solves this, but I'm curious why render does not work.
View ArticleCommented Feature: Overloads for int[] pixels [11060]
If many shapes need to be drawn, it's dramatically faster if a local reference to the Pixels array is passed to the methods directly. int[] pixels = writeableBmp.Pixels;int w =...
View ArticleNew Post: Is this project dead?
Is this project dead? it's been over a year since the last contribution. Maybe it's time somebody forks it and starts improving it. I for one could use one that would be compatible with cross-thread...
View ArticleNew Post: Is this project dead?
This project is not dead. :) The last update was released in June and the latest code check in is from 06/20. We are always happy to add community contributions. Before we give write access to the...
View ArticleCommented Feature: Overloads for int[] pixels [11060]
If many shapes need to be drawn, it's dramatically faster if a local reference to the Pixels array is passed to the methods directly. int[] pixels = writeableBmp.Pixels;int w =...
View ArticleNew Post: BitmapContext.CopyPixels on WinRT
To fix a bug in WinRT, call ToArray() twice.#if NETFX_CORE private unsafe void CopyPixels() { var data = writeableBitmap.PixelBuffer.ToArray(); data = writeableBitmap.PixelBuffer.ToArray(); // *** FIX...
View ArticleCreated Unassigned: WinJS support? [20387]
The NuGet component fails to add to a WinJS application.Shouldn't this work?
View ArticleClosed Unassigned: WinJS support? [20387]
The NuGet component fails to add to a WinJS application.Shouldn't this work?Comments: The WriteableBitmap is not available in WinJS. It's only part of the Xaml stack.For WinJS you want to use the HTML...
View ArticleCreated Unassigned: segments ends do not match exactly when using drawline...
I am using the drawline primitive to segments of polylines. Somehow the end point of each segment does not exactly match the startpoint of the next segment. This is of course only visible when zooming...
View ArticleCommented Unassigned: segments ends do not match exactly when using drawline...
I am using the drawline primitive to segments of polylines. Somehow the end point of each segment does not exactly match the startpoint of the next segment. This is of course only visible when zooming...
View Article