Vincent Tsao's Library tagged → View Popular, Search in Google
May
19
2010
-
Android's decoders do not currently support partial data on decode. i.e. if the complete data stream is not available, then they return failure. I will investigate trying to support this in the future.
-
Thanks a lot for your quick reply! As this error is very likely to occur when decoding an image from any stream issued from sockets (like for HTTP connections), is there any best practice I should consider with the existing API, insteed of my custom workaround? FYI, decorating the stream with a BufferedInputStream (and any buffer size) is useless.
Dec
29
2009
May
21
2009
in list: Andriod
-
It seems that there my be a bug, memory leak with the BitmapFactory
when decoding, and reading bitmaps from file. I, and many other
developers have noticed similar problems to what you describe. I
haven't been able to get any official confirmation that this is a
known bug, but it looks like a bug to me. I have been able to mitigate
this problem in my code by using bitmap.recycle and object pooling,
but I have not been able to get rid of this problem entrirely.
1 - 8 of 8
Showing 20▼ items per page
Selected Tags
Related Tags
Top Contributors
Groups interested in bitmap
Related Lists on Diigo
-
Graphics
Anything to do with web and ...
Items: 6 | Visits: 28
Created by: Darryl Bartlett
-
Vector and Raster Graphics
There are two kinds of compu...
Items: 1 | Visits: 6
Created by: Marina ONeil
-
illustration
Links to contests, featured ...
Items: 4 | Visits: 63
Created by: Bert Deckers
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
