react-image-file-resizer
react-image-file-resizer copied to clipboard
Image is getting pixeled after resizing it
Describe the bug For some reason, after resizing an image using a specific aspect ratio, it getting a bit pixeled, it may happen because of the resizing algo.
To Reproduce Steps to reproduce the behavior:
- Get an image from local machine
- Use Resizer function to resize it using the following parameters:
compressFormat: png, quality: 100, rotation: 0, outputType: file - Image is getting resized as expected but a little pixeled.
Expected behavior Shouldn't reduce the quality of the image after resizing it.
Screenshots
Image before uploading it:

After:

Having the same problem, resulting image is very blocky instead of being smooth
Are you uploading images with indexed colors? (Like a GIF or low-bitrate PNG)
This might cause that; you'd get the same in Photoshop if you didn't first convert to full RGB.