compressorjs icon indicating copy to clipboard operation
compressorjs copied to clipboard

Image is not compressed

Open rameezraja2755 opened this issue 2 years ago • 0 comments

Describe the bug i am trying to compress image with following code but size of compressed image is same as the original image

new Compressor(fileUploaded, { quality: 0.6, success: (compressedResult) => { console.log("compressed image size", compressedResult.size / 1000000); console.log("real image size", fileUploaded.size / 1000000); }, });

Desktop (please complete the following information):

  • OS: MAC OS
  • Browser chrome
  • Version 105.0.5195.102 (Official Build) (x86_64)

rameezraja2755 avatar Sep 21 '22 17:09 rameezraja2755