canvasResize icon indicating copy to clipboard operation
canvasResize copied to clipboard

Image type changing to application/octet-stream after resize

Open secretsayan opened this issue 4 years ago • 0 comments

When I am using this code:

var resizedImage = canvasResize("dataURLtoBlob", myImage);

In some cases , the blob type is changing to "application/octet-stream" from "image/jpeg" or "image/png". We observed that we are also having the image size as 0 in those cases.

Please help.

Regards, Sayan

secretsayan avatar May 12 '20 03:05 secretsayan