Top "Bitmapimage" questions

A bitmap(BMP) is a raster graphics image file.

Convert RenderTargetBitmap to BitmapImage

I have a RenderTargetBitmap, I need to convert it to BitmapImage. Please check the code below. RenderTargetBitmap bitMap = getRenderTargetBitmap(); Image …

c# wpf bitmapimage rendertargetbitmap
How to convert Byte[] to BitmapImage

I need help, I have this method to get a BitmapImage from a Byte[] public BitmapSource ByteToBitmapSource(byte[] image) { BitmapImage …

c# wpf bitmapimage
How to free the memory after the BitmapImage is no longer needed?

First, I load a BitmapImage on the Image control on the Window. Second, I work with the Image control and …

wpf image memory bitmapimage
How can I convert WriteableBitmap to BitmapImage?

BitmapImage bitmapImage = new BitmapImage(new Uri("arka_projects_as_logo.png", UriKind.Relative)); Image uiElement = new Image() { Source = bitmapImage }; ScaleTransform …

c# silverlight silverlight-4.0 bitmapimage writeablebitmap
Changing the dimensions of a BitMapImage in WPF, and what kind of objects can I put in an <Image> element?

I am trying to create an explorer app with a TreeView element, and have different icons for each level of …

c# wpf treeview bitmapimage
How can I set the WPF BitmapImage UriSource property to a relative path?

I'm loading an image in WPF by using the BitmapImage class. My code works perfectly when I give an absolute …

wpf uri bitmapimage
How can I convert byte[] to BitmapImage?

I have a byte[] that represents the raw data of an image. I would like to convert it to a …

wpf image type-conversion bitmapimage
Create a BitmapImage from a byte array

I am creating a byte array with arbitrary values in it and want to convert it into a BitmapImage. bi = …

wpf bitmapimage notsupportedexception
How to get the size of bitmap after displaying it in ImageView

I have a imageview <ImageView android:id="@+id/imgCaptured" android:layout_width="fill_parent" android:layout_height="fill_parent" …

android bitmap imageview android-imageview bitmapimage
How do I save a BitmapImage from memory into a file in WPF C#?

I can't find anything over this and need some help. I have loaded a bunch of images into memory as …

c# wpf save bitmapimage