In Android there's no client API to specify that, because Bitmap.compress()
calls a native method which doesn't accept such a parameter.
However you can use libpng (which BTW is what I think Android uses in its native implementation) and it certainly allows the fine-grained control you need.
But I really don't think that saving a bunch of KBytes in a GB-sized drive is worth this effort.