don't encode alpha channel twice when alpha is different colorspace from other channels