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

PNGs with transparent borders have an artifact after resizing #62

Open
MarquessV opened this issue Sep 16, 2019 · 0 comments
Open

PNGs with transparent borders have an artifact after resizing #62

MarquessV opened this issue Sep 16, 2019 · 0 comments

Comments

@MarquessV
Copy link

We're having an issue with certain types of PNG images. For example, this 320x320 image of a tomato has a white background, but has transparent borders on the top and bottom of the image.

tomato.png

After resizing to 250x250 with lilliput we get this image

tomato_out

We get a visible dark line where the transparent borders begin on the original image. We've messed about with different PNG compression levels to no avail. Any ideas on how we can fix this?

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

1 participant