Currently, clipboard image is read using arboard library to ImageData type. I didn't figure out how to convert it to bytes, thus I used the workaround to save the image to disk and read the file as binary.
Need to improve this. This workaround works, and looks stupid.
Currently, clipboard image is read using arboard library to
ImageData
type. I didn't figure out how to convert it to bytes, thus I used the workaround to save the image to disk and read the file as binary.Need to improve this. This workaround works, and looks stupid.