A bitmap(BMP) is a raster graphics image file. It is also referred to as a Device Independent Bitmap (DIB).
Questions tagged [bitmapimage]
900 questions
0
votes
1 answer
Save a custom class to Isolated Storage using a Collection
I have created a custom class named ImageItem which contains a BitmapImage and string to gather the response of the CaptureImageTask. I would like to save each image and its respective path to an ObservableCollection which is bound to a listbox in…

Matthew
- 3,976
- 15
- 66
- 130
0
votes
3 answers
Bitmap based Application RunTime exception of VM Budget
I am working on Application which is based on lot of bitmaps, now the problem is that in some devices i am getting run time Exception during Application testing.
this might me due to Bitmap size exceeds VM Budget.
Now the issue is that i cant reduce…

Vibhuti Tripathi
- 21
- 3
0
votes
0 answers
check bitmap for an image validation c#
I am checking four corners of a document to check if there will be an image. How can i possibly do this with my following code. I get all four corners of a document but i would like to get which corner has an image(qr code) and then pass in that…

Masriyah
- 2,445
- 11
- 49
- 91
0
votes
1 answer
drawing a rectangle for a bitmap clone
I have a bitmap in which i clone and specify a rectangle - the current rectangle has certain width and height values which i've used for checking the rectangle for a QR code. I noticed this checks the top left corner. I would i be able to alter this…

Masriyah
- 2,445
- 11
- 49
- 91
0
votes
0 answers
passing in a rotated bitmap to process
I have a bitmap that I rotate and I would like to pass in the rotated bitmap to be processed but it seems like from my code it is passing in the original bitmap and not the rotated one.
Any idea to how I could adjust this?
using (var fullImg = new…

Masriyah
- 2,445
- 11
- 49
- 91
0
votes
0 answers
WPF Convert BitmapImage 12bit gray to 8bit gray
I want to convert a 12bit gray image into an 8 bit representation, to be able to display it correctly.
Here is how:
byte[] dstData = null;
BitmapImage displayableBitmapImage = null;
if (numberOfBitsUsed == 12 || numberOfBitsUsed == 16)
{
…

tabina
- 1,095
- 1
- 14
- 37
0
votes
2 answers
Render Canvas with Background to Bitmap fails to display background C#/WPF
I am writing an app in C#4.0/WPF that displays a piece of machinery in an image control within a canvas. The user drags coloured text blocks on to the image to indicate an area of wear or damage (I have written code that creates and moves a new text…

JeffG
- 5
- 2
- 7
0
votes
1 answer
Issue while showing large images in Android
We are now developing Android application which is working in both online and offline mode. The application has lot of large size of images, videos and pdf. So to work the application in off-line mode, we need to download all the images, video and…

Venu V
- 73
- 5
0
votes
2 answers
Android convert complete view to bitmap
can i get the whole linearlayout or other layouts converted to bitmap.
my code is this :
LinearLayout view = (LinearLayout)findViewById(R.id.linear_parent);
view.setDrawingCacheEnabled(true);
view.buildDrawingCache();
Bitmap bm =…

tarun_tenniso
- 214
- 5
- 20
0
votes
1 answer
conversion between bitmapimage and byte array in windows8
I write the code below to convert image to byte array and convert back later, but it doesn't work. Anyone can help?
FileOpenPicker picker = new FileOpenPicker();
picker.ViewMode = PickerViewMode.Thumbnail;
…

James
- 2,570
- 7
- 34
- 57
0
votes
1 answer
C# Console app - Bing Maps - how to save output
I can get a URI from Bing Maps but when I try to save the resulting file (eg, a .jpg) it is empty (eg, 1 x 1 size). I've got it working fine in a WPF app with event handling but how do I do it with a console app?
Here's the code that works with WPF…

Gary Huckabone
- 402
- 3
- 10
0
votes
1 answer
Android BitmapDrawable load from url
If I have the URL String such as str_URL = "http://........ABC.png";
How can I add it to below which replace R.drawable.jth?
BitmapDrawable frame1 = (BitmapDrawable)getResources().getDrawable(R.drawable.jth);
BitmapDrawable frame2 =…

user1830145
- 97
- 1
- 5
0
votes
2 answers
Image flipping when convert image to base64
I have a rectangle and fill it with a image

Niloo
- 1,205
- 5
- 29
- 53
0
votes
1 answer
How to load a bitmap to ImageSource real time in wpf?
I know how to convert bitmap into BitmapImage from Load a WPF BitmapImage from a System.Drawing.Bitmap
But when my bitmap is changing, and I wanna the source of image, i.e. the BitmapImage will change with the bitmap in real time, how can I do…

Cuero
- 1,169
- 4
- 21
- 42
0
votes
1 answer
Loading Images from sd card to grid view causes bitmap exceeds VM budget
In my Application im loading images from sd card almost 40 to 50 images in grid view for this i created adapter in which constructor loads images from sd card to global variable of array list of bitmaps with in get view im returning bitmap from…

Manju
- 720
- 9
- 23