Posted on 2007-04-11
I have a RLE compressed bitmap encoded in base64, and I would like to use inline bitmap (data URL) to display this picture in FireFox. It looks like fire fox can't display my bitmap, does anyone know why?
My code that displays the bitmap is:
var pic = document.createElement('img');
pic.src = 'data:image/bmp;base64,' + base64str;
var div = document.getElementById("mydiv");
I tried with none RLE compressed bitmap and it works fine. So I am wondering if RLE is even supported in data URL kind of usage.