react-avatar-editor icon indicating copy to clipboard operation
react-avatar-editor copied to clipboard

.jpg images increasing in file size after upload

Open hrorich opened this issue 3 years ago • 2 comments

Using the utility, when we upload a .jpg image, the utility is saving it at 3-5x the original size. We uploaded a .jpg of file size 51kb, and the utility saved it as a 132kb jpeg. We uploaded a .jpg of 1MB, and the utility saved it as a 6.3MB jpeg.

hrorich avatar Nov 21 '22 14:11 hrorich

i have the same issue. i select a file with size 900kB, but when i get the blob format of canvas it became 10MB. the issue is that the canvas with and height is too large like 5000. i don't know how to fix it.

m-a-h1 avatar Apr 16 '23 08:04 m-a-h1