android - Formats supported by BitmapFactory.decodeByteArray(...) -



android - Formats supported by BitmapFactory.decodeByteArray(...) -

is documented (or reasonable assume) bitmapfactory.decodebytearray(...) can expected recognize of image formats listed here?

yes, it's reasonable assume (a bit more if take peek @ source code of aosp). jni native methods bitmapfactory in bitmapfactory.cpp.

https://github.com/android/platform_frameworks_base/blob/master/core/jni/android/graphics/bitmapfactory.cpp

since both bitmapfactory.decodebytearray() , bitmapdrawable(inputstream) constructor end calling dodecode(), , since constructor used when loading resources apk, reasonable assume capabilities same.

android android-image

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -