Quantcast
Channel: WriteableBitmapEx
Browsing all 360 articles
Browse latest View live
↧

New Post: How to draw text in WPF without WriteableBitmap constructor that...

The samples and other discussions show a 3rd constructor that takes 2 parameters (UIElement, Transform) and it seems this is the only way recommended to achieve writing text to the bitmap. Most samples...

View Article


New Post: How to draw text in WPF without WriteableBitmap constructor that...

Check out RenderTargetBitmap: http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.rendertargetbitmap(v=vs.110).aspxRene

View Article


New Post: How to draw text in WPF without WriteableBitmap constructor that...

Thanks for the quick response. It works using this approach, then blitting with my base WriteableBitmap. On performance, I'm seeing ~600uS to create each label and cache it in a WriteableBitmap object....

View Article

New Post: How to draw text in WPF without WriteableBitmap constructor that...

Continued experiments with the RenderTargetBitmap lead down a rat-hole of a seemingly well know memory issue that leads to crashes. I've not found a way out. Are there any other ways to draw text using...

View Article

Created Unassigned: drawing outside the bitmap area causing clamps [20735]

hi,when drawing any shape outside the bitmap area, lines/pixels are being clammed into the boundaries.and causing the shape to look different.for example draw an ellipse close to the edge, you will see...

View Article


New Post: WriteableBitmap performance quirkyness

I initialize my WriteableBitmap some where at start of program (I call CreateWriteableBitmap()) When I run my program, I have an wpf Image on form, my theImage.Source = writeableBitmap I receive a new...

View Article

New Post: WriteableBitmap performance quirkyness

Well, that Gray format is not supported by hardware and involves that it's converted from color to gray. Most cameras support YCrCb or similar where you can just use the Y component for brightness value.

View Article

New Post: WriteableBitmap performance quirkyness

I had not even considered that aspect!! Thank you for shedding light on that issue!

View Article


Commented Unassigned: Blit doesn't work well with transparent PNG images [20713]

HelloI am trying to apply an transparent image (in png format) over background image. The result is not very good as applied image has too much artifacts over it.It is known problem?I am making an...

View Article


Commented Unassigned: Blit doesn't work well with transparent PNG images [20713]

HelloI am trying to apply an transparent image (in png format) over background image. The result is not very good as applied image has too much artifacts over it.It is known problem?I am making an...

View Article

Source code checked in, #106980

* The WP SaveToMediaLibrary extension now returns the created Picture instance. * Fixed the issue #20713 with the alpha blitting

View Article

Edited Issue: Blit doesn't work well with transparent PNG images [20713]

HelloI am trying to apply an transparent image (in png format) over background image. The result is not very good as applied image has too much artifacts over it.It is known problem?I am making an...

View Article

Image may be NSFW.
Clik here to view.

Updated Wiki: Home

Description The WriteableBitmapEx library is a collection of extension methods for the WriteableBitmap. The WriteableBitmap class is available for Windows Phone, WPF, WinRT Windows Store XAML and...

View Article


Source code checked in, #106981

* Made BitmapContext thread-safe by using ConcurrentDictionary for ref counting

View Article

Edited Issue: Crash when using WriteableBitmapEx.Clear in parallel. [20005]

Using WriteableBitmapEx 1.0.8.0 from NuGet, I have some code where I'm creating a bunch of images in parrel. However, inside BitmapContext there's a static Dictionary used in the ctor - which leads to...

View Article


Edited Issue: BitmapContext not thread safe [20143]

It seems the dictionaries used in the context class have some thread racing occurring when you have multiple WPF render threads (with own dispatchers). Some locks should fix it.Comments: ** Comment...

View Article

New Post: draw ellipses vs blit

hi, i need to draw the same shape(ellipse) 1 milion times on screen. i was thinking on drawing once and blitting 1m - 1... does anyone has any thoughts about this or suggest better approach ? regards,...

View Article


Source code checked in, #107028

* Rolled back wrong Blit changes. * Fixed a bug in WriteTga and Resizeso its paid attention to pre-mulitplied ARGB

View Article

New Post: Blit not producing anticipated results

I'm using the Blit method for image annotation functionality in a Windows Store app. Essentially the user takes a picture and is able to use the Windows.UI.Input.Inking.InkManager to draw on the...

View Article

New Post: Blit not producing anticipated results

Looks like the overlay has a different size. It needs to have the same width and height. The Blit does not scale. You can use the Resize method for that. Rene

View Article
Browsing all 360 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>