toDataURL("image/bmp") works only on Firefox