Thursday, January 10, 2013

[android-developers] Re: Can I decide how bitmaps are compressed via png?

Eventually I figured out the answer myself: in Android it's not possible.
I had to make changes to the Android frameworks to enable this feature (skia for that matter:
you may look at https://github.com/androidcompile/Android_external_skia_pngCompression), but otherwise, as a developer, there's no access to these features.
Developers may only use an external library in order to save a png in a color paletted format.

On Sunday, January 6, 2013 11:42:08 AM UTC+2, AndroidCompile wrote:
Hi,
Is it possible to determine that a bitmap is compressed (programatically, of course) as a png image with an 8 bit color palette? 4 bit?
I know there are different types of png compressions, can I decide which type is used?
If the answer is no, can anyone recommend a method for doing so?

Thank you in advance

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment