Support Pixmap constructor with byte datas.