js_bitmap
js_bitmap copied to clipboard
create bmp instead of png
Hello,
i need to create monochrome bmp instead of png. Is there a way of modify your code? I examine your code but i can't figure out how to modify. Can you help about it?
You'd need to rewrite the dataURL function for the new format.
But there's an easier way: modern browsers have a toDataURL function to do this. Example. Note that BMP isn't guaranteed to be supported though.
Thank you very much for that informations :)