bitmapfactory
In Android how to decode a jpeg in cmyk color format?
I\'m trying to decode a jpeg that is in CMYK color format. BitmapFactory returns null. I googled around but with no luck. Is 开发者_开发问答it possibile Android team did not the right job supporting a[详细]
2023-04-09 20:20 分类:问答BitmapFactory returns bigger image than source
Hi i am creating a Bitmap from an png image named image.png. The image has the dimension 75 (width) x 92 (height). When I run this code:[详细]
2023-04-03 15:52 分类:问答Android - BitmapFactory.decodeByteArray - OutOfMemoryError (OOM)
I have read 100s of article about the OOM problem. Most are in regard to large bitmaps. I am doing a mapping application where we download 256x256 weather overlay tiles. Most are totally transparent a[详细]
2023-04-01 22:55 分类:问答Display image in Android's ImageViewer widget using byte array created on .NET
I have a bunch of images stored in my server\'s database as byte arrays that I\'d like to consume in my Android app.[详细]
2023-03-23 08:37 分类:问答Get size of Bitmap Android [duplicate]
This question already has answers here: Closed 10 years ago. Possible Duplicate: Bitmap byte-size after decoding?[详细]
2023-03-23 05:57 分类:问答Problem with big images ( java.lang.OutOfMemoryError: bitmap size exceeds VM budget )
as a many people i have a problem with big images too. ok,here my code.I found on stackoverflow how to fix this using BitmapFactory.Options.But in my situations i get image not from file. Can anyone[详细]
2023-03-20 18:47 分类:问答Cannot get image from connection, even with INTERNET permissions
I\'m having some problems trying to create a Bitmap from a remote URL. Here is the 开发者_如何学JAVAsnippet:[详细]
2023-03-18 20:46 分类:问答BitmapFactory.decodeFile returns null
I want to create a Bitmap from a photo that is on the web. First i tried to use BitmapFactory.decodeStream but it returned null because of a bug (http://code.google.com/p/android/issues/detail?id=6066[详细]
2023-03-16 06:43 分类:问答How can I specify the bitmap format (e.g. RGBA_8888) with BitmapFactory.decode*()?
I\'m making several calls to BitmapFactory.decodeFile() and BitmapFactory.decodeResource(), and I\'d like to specify the format the bitmaps are decoded to, such as RGB_565 or RGBA_8888.[详细]
2023-03-15 15:45 分类:问答android how to load/save original size Bitmap with no OutOfMemory
I read many discussions about the inSampleSize OutOfMemory dilemma. Cannot get a good solution so i ask a question about it.[详细]
2023-03-13 17:31 分类:问答