canvasResize
canvasResize copied to clipboard
Image type changing to application/octet-stream after resize
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