I am trying to create an image compressor without any third-party library.
Here is my code(it will finally returns the blob of compressed image):
async fu