bmpenc: switch to encode2().