simplified interface: do not encode/decode Bitmap