New Post: WinRT Blit image quality
This should actually work. Double check the coordinates and maybe try a different BlendMode like Alpha just to rule out this is not the issue.
View ArticleNew Post: WinRT Blit image quality
Thanks for your reply. Indeed there has been a coordinate issue. :-/ The rects are (horizontal start point, vertical start point, width, height) instead of (horizontal start, vertical start, horizontal...
View ArticleNew Post: No alpha blending in the FillXXX methods
It works! when this function will be commited on the repository?
View ArticleNew Post: No alpha blending in the FillXXX methods
It works, but it is not 100% precise, in my opinion, since the alpha channel should work on 256 values, not 255. Suppose you choose a 128 value for your alpha component. It should mean that you'd like...
View ArticleNew Post: What are the parameters for DrawCurve?
This is probably the easiest question in the world, since it will probably be in the documentation when it comes out, but I want to know what the parameters for the DrawCurve method are. The color...
View ArticleNew Post: blit out of memory exception
I have one really large writeablebitmap and then I copy 33 small writeablebitmaps with function blit into the large one. For loading small bitmaps I use this function.. BitmapImage img = new...
View ArticleNew Post: No alpha blending in the FillXXX methods
I have tested your code but not blend correctly, public static void FillRectangleBlend2(this WriteableBitmap bmp, int x1, int y1, int x2, int y2, Color colore) { var color = ConvertColor(colore); using...
View ArticleNew Post: Win8.1 Blit Transparent Ink
I'm working on an app where the user is "marking up" an underlying image with the Ink API. One of the ink types is a Highlight tool. When I blit the ink strokes and background image together the...
View ArticleNew Post: Visual Studio Express 2013
Hi all, use this lib fine, the app with the library seems to work as expected when compiled. the only issue is with Visual Studio Express 2013 that i'm using. Error list shows lots of errors at places...
View ArticleNew Post: Get Thumbnail image aspect ratio
Hello, i have a jpg file saved in a isolated storage. I would a thumbnail (200x200) from this jpeg keep aspect ratio this is a my codeusing (var isolatedStorage =...
View ArticleNew Post: Win8.1 Blit Transparent Ink
Dear, i have the same problem when i Blit for scrolling purpose the bitmap and the new bitmap lost the trasparency (it's painted white on background) I'm using the wrong calling method? public void...
View ArticleNew Post: Invalidate not present in WPF
with the following code wbmp = BitmapFactory.New(300, 300); IMG1.Source = wbmp; BitmapContext bmpc = wbmp.GetBitmapContext(); // Clear the WriteableBitmap with white color wbmp.Clear(Colors.Red);...
View ArticleNew Post: Invalidate not present in WPF
You would need to dispose the context. In WPF the bitmap is invalidated when its unlocked. In WBX the this is done in the dispose call. Use it like this: wbmp = BitmapFactory.New(300, 300); IMG1.Source...
View ArticleNew Post: Blur an Image on windows phone
This code doesn't workUri uri = new Uri(AnyUri, UriKind.RelativeOrAbsolute); BitmapImage img1 = new BitmapImage(); img1.UriSource = uri; img1.CreateOptions = BitmapCreateOptions.None; WriteableBitmap...
View ArticleNew Post: Use in Windows phone 8/8.1
Hi Currently within a Windows phone 8 app I generate a live tile as a JPG. Work fine and is okay in the limited memory allowed within the background agent. But I now need to generate as PNG...
View ArticleNew Post: Use in Windows phone 8/8.1
There was some code provided in the discussion forums for saving a PNG: https://writeablebitmapex.codeplex.com/discussions/274445 But haven't tested it in an agent.
View ArticleNew Post: WritableBitmap with wrong colors
Hi, I am using BitmapFactory to load a PNG from a file:WriteableBitmap image = await BitmapFactory.New(1, 1).FromContent(new Uri("ms-appx:///Assets/image.png")); When I display this image the colors...
View ArticleNew Post: Invalidate not present in WPF
teichgraf wrote: You would need to dispose the context. In WPF the bitmap is invalidated when its unlocked. In WBX the this is done in the dispose call. Use it like this: wbmp = BitmapFactory.New(300,...
View ArticleNew Post: Invalidate not present in WPF
It's recommended to manually create the BitmapContext if you are performing more than one call inside it and if you have a batch of draw calls. You will see a huge performance change since Invalidate...
View ArticleNew Post: ColorMatrix with WriteableBitmapEx
Hi everybody, I would like to use WriteableBitmapEx in order to use a color Matrix just the one described here... How can I do?? Thanks a lot! Jymmy097
View Article