I've been dealing with this issue for some time but it's really
causing me problems today.

Here's what I'm doing:


BitmapFactory.Options opts = new BitmapFactory.Options();
opts.inScaled = false;
return BitmapFactory.decodeResource(context.getResources(),
resourceId, opts);

And on many PNGs exported from Photoshop using "save for web and
devices" which is the optimized way to do it, I get a Bitmap that
should be ARGB_8888 but ends up as RGB_565.  Not only that but
Bitmap.getConfig() returns null on those, as if it didn't know what
format it put it in.

Gosh that seems buggy!

Anyone have a good workaround for this which allows for loading
unscaled bitmaps in their correct format (with transparency?)

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

Reply via email to