withAlphaType

This is conservative; it will still return non-opaque if e.g. a color index-based frame has a color with alpha but does not use it.

Return

this.