Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image is getting pixeled after resizing it #79

Open
RLeDEV opened this issue Oct 27, 2022 · 2 comments
Open

Image is getting pixeled after resizing it #79

RLeDEV opened this issue Oct 27, 2022 · 2 comments

Comments

@RLeDEV
Copy link

RLeDEV commented Oct 27, 2022

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:

  1. Get an image from local machine
  2. Use Resizer function to resize it using the following parameters:
    compressFormat: png, quality: 100, rotation: 0, outputType: file
  3. 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:
Screen Shot 2022-10-28 at 1 01 54

After:
Screen Shot 2022-10-28 at 1 02 16

@Japelino
Copy link

Having the same problem, resulting image is very blocky instead of being smooth

@Ben-CA
Copy link

Ben-CA commented Dec 30, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants