Top "Bitmap" questions

Data structure for encoding pictures as a set of bits, in which each image pixel is mapped to a bit or a group of bit.

WPF - converting Bitmap to ImageSource

I need to convert a System.Drawing.Bitmap into System.Windows.Media.ImageSource class in order to bind it into …

c# wpf bitmap type-conversion imagesource
Decoding bitmaps in Android with the right size

I decode bitmaps from the SD card using BitmapFactory.decodeFile. Sometimes the bitmaps are bigger than what the application needs …

android memory bitmap sd-card
How do I fill a bitmap with a solid color?

I need to create a 24-bit bitmap (resolution 100x100 pixels) using a unique RGB color and save the generated image …

c# image bitmap
How can I print an image on a Bluetooth printer in Android?

I have to print some data on thermal bluetooth printer, I'm doing with this: String message="abcdef any message 12345"; byte[] …

java android bitmap bytearray bitmapfactory
Canvas: trying to use a recycled bitmap android.graphics.Bitmap in Android

I am working on the crop image class, but encounter a recycled bit map problem: 03-02 23:14:10.514: E/AndroidRuntime(16736): FATAL EXCEPTION: …

android bitmap imageview recycle
Bitmap byte-size after decoding?

How can I determine/calculate the byte size of a bitmap (after decoding with BitmapFactory)? I need to know how …

android bitmap
BitmapFactory.decodeStream returning null when options are set

I'm having issues with BitmapFactory.decodeStream(inputStream). When using it without options, it will return an image. But when I …

java android image bitmap
Android: Bitmap to Byte Array and back: SkImageDecoder::Factory returned null

The goal is to convert a Bitmap to a byte [], pass it between activities in a Bundle of data, then …

java android bitmap bytearray android-imageview
Load image from url in notification Android

In my android application, i want to set Notification icons dynamically which will be loaded from URL. For that, i …

android bitmap google-cloud-messaging android-notifications android-notification-bar
How to handle try catch exception android

I am using a method getBitmap to display images. As I am using this as a method,if it returns …

android exception-handling bitmap out-of-memory filenotfoundexception