Closed AliBayatMokhtari closed 1 year ago
The problem is that you cannot just set the image data like that, because this tiff file has only three channels (RGB, no alpha). ImageData objects always contain RGBA data.
The problem is that you cannot just set the image data like that, because this tiff file has only three channels (RGB, no alpha). ImageData objects always contain RGBA data.
So how can i convert such image to image/png base64? Any clue would be helpful. Thank uou
I have decoded this file: Link and the output is Preview or Download
the source code for getting image/png file is:
and the HTML markup is simple as: