writeablebitmap Questions
6
Solved
How do I calculate the required buffer size for the WriteableBitmap.WritePixels method?
I am using the overload taking four parameters, the first is an Int32Rect, the next is a byte array containi...
Elver asked 19/12, 2012 at 13:43
3
Solved
Here is the problem.
I want to open a file from local drives, then make it into a WritableBitmap so i can edit it.
But the problem is, i cannot create a WritableBitmap from Uri or something like th...
Katha asked 23/11, 2010 at 8:53
2
Solved
In my code, I'm receiving WriteableBitmaps from a byte array (in turn from a Kinect) and I'd like to turn them into bitmaps for use with EmguCV. Currently this is the code I have:
// Copy the pix...
Kosse asked 28/12, 2013 at 8:7
0
I have to render the text from a TextBox into a WriteableBitmap.
This code is working pretty well but the text in it is blurry or anti-aliased.
Any ideas on how to keep it aliased and crisp?
text ...
Proscenium asked 2/1, 2014 at 0:6
2
Solved
I have a Windows Phone 8 App, which uses Background agent to:
Get data from internet;
Generate image based on a User Control that uses the data from step 1 as data source;
In the User Control I h...
Gerhard asked 25/12, 2013 at 7:47
1
I am building a custom UI framework in WPF where I basically ditch as much of the built-in layout system and controls as I can. So far I have been branching off from UIElement directly, but since I...
Intendment asked 21/12, 2013 at 13:21
5
Solved
i am using the code below to create a live tile, based on an UI element.
It renders the uiElement on a WriteableBitmap, saves the bitmap + returns the filename.
This method is run in a windows phon...
Allotropy asked 5/2, 2013 at 15:20
3
Solved
Is it possible to directly read/write to a WriteableBitmap's pixel data? I'm currently using WriteableBitmapEx's SetPixel() but it's slow and I want to access the pixels directly without any overhe...
Pantry asked 24/11, 2013 at 21:16
1
Solved
Is there any way for converting WriteableBitmap to Bitmap in C# ?
Stoneware asked 25/6, 2013 at 12:59
3
Solved
How can I convert a WPF WriteableBitmap object to a System.Drawing.Image?
My WPF client app sends bitmap data to a web service, and the web service needs to construct a System.Drawing.Image on tha...
Raleighraley asked 13/7, 2010 at 16:53
3
Solved
I could create WriteableBitmap from pictures in Assets.
Uri imageUri1 = new Uri("ms-appx:///Assets/sample1.jpg");
WriteableBitmap writeableBmp = await new WriteableBitmap(1, 1).FromContent(imageUr...
Zincograph asked 5/2, 2013 at 23:23
1
Solved
How do I convert a WriteableBitmap object to a BitmapImage Object in WPF?
This link covers silverlight, the process is not the same in WPF as the WriteableBitmap object does not have a SaveJpeg me...
Director asked 4/1, 2013 at 17:14
1
Solved
So Im trying trying to load an image into a WriteableBitmap but I'm getting a NullReferenceException. Can't figure out why because I think this used to work before
BitmapImage b = new BitmapImage(...
Tobi asked 2/9, 2012 at 22:16
1
I am trying to convert a WriteableBitmap which is having Rgb24 as a pixelFormat. I want to store the same image into a EmguCV Image having Bgr format. I have written a following code but it is not ...
Thirtythree asked 26/4, 2012 at 13:10
1
Solved
I have 2 images and I want to merge them into one on my apps in Windows Phone.
The first image captured by my WP's camera, the second image is a frame (borders, filter, etc.) which user can choose...
Mezoff asked 11/4, 2012 at 4:38
6
Solved
I am trying to render text on a bitmap in a Windows Phone 7 application.
Code that looks more or less like the following would work fine when it's running on the main thread:
public ImageSource R...
Winifield asked 14/4, 2011 at 16:56
1
Solved
Say I have some grid that you need to scroll down to see all of its lines, and I'm interested in saving some lines that are not currently visible as a bitmap. Is it feasible, or do I have to actual...
Limn asked 4/8, 2011 at 10:7
1
Solved
Hey.
I havea 480 x 800 image and would like to place this on my tilemap. I'm trying to split the image into into a grid (6 x 10) and assign each tile that specific portion of the image. Essentiall...
Centripetal asked 19/5, 2011 at 0:46
1
Solved
I'm rendering dozens of visuals to the RenderTargetBitmap. Each is rendered in it's own Rect.
What I want to do is to copy one of these Rect areas rendered from RenderTargetBitmap instance into the...
Daynadays asked 4/2, 2011 at 17:55
2
BitmapImage bitmapImage = new BitmapImage(new Uri("arka_projects_as_logo.png", UriKind.Relative));
Image uiElement = new Image() { Source = bitmapImage };
ScaleTransform t = new ScaleTransform() { ...
Badman asked 21/10, 2010 at 10:52
2
Solved
There is a simple MSDN example about WriteableBitmap.
It shows how to draw a freehand line with the cursor by just updating one pixel when the mouse is pressed and is moving over a WPF -Image Cont...
Intricacy asked 23/4, 2010 at 19:37
3
Solved
I am attempting to write some code that will expediently process video frames. I am receiving the frames as a System.Windows.Media.Imaging.WriteableBitmap. For testing purposes, I am just applying ...
Earwitness asked 3/5, 2010 at 19:14
1
Solved
Some time ago i posted a question related to a WriteableBitmap memory leak, and though I received wonderful tips related to the problem, I still think there is a serious bug / (mistake made by me) ...
Luwian asked 8/10, 2009 at 0:30
3
Solved
I am trying to find out how to use FJCore to encode a WriteableBitmap to a jpeg. I understand that WriteableBitmap provides the raw pixels but I am not sure how to convert it to the format that FJC...
Grith asked 16/7, 2009 at 17:47
3
I'm trying to figure out how to release a WriteableBitmap memory.
In the next section of code I fill the backbuffer of a WriteableBitmap with a really large amount of data from "BigImage" (3600 * ...
Pendergast asked 26/8, 2009 at 12:52
1 Next >
© 2022 - 2024 — McMap. All rights reserved.