In native part of the bitmap.compress
implement it wrote:
None of the JavaCompressFormats have a sensible way to compress an ALPHA_8 Bitmap. SkPngEncoder will compress one, but it uses a non-standard format that most decoders do not understand, so this is likely not useful.
So you can't compress an ALPHA_8 Bitmap.