Javascript – Incorrect format problem when converting a BMP image file from Base-64 to binary
I am trying to convert the Base-64 data contained in the "data" returned by toDataURL of a fabric.Canvas into a file with its corresponding extension (BMP). The result is a "The file is not in the correct format" error. The…