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

PNG compression #44

Closed
My-Key opened this issue May 20, 2020 · 2 comments
Closed

PNG compression #44

My-Key opened this issue May 20, 2020 · 2 comments

Comments

@My-Key
Copy link

My-Key commented May 20, 2020

Hi,

I'm trying to make atlas with textures that are SDF (signed distance field) and output image have to be uncompressed to render properly.

After export you can see a difference between output (left) and source (right) especially visible on the edges. (Alpha channel is disabled to make difference visible, on the output alpha was the same as on the source)
obraz

Is there an option to change PNG compression? I tried to look for it in sources, but couldn't find it.

@nonunknown
Copy link

If you are using tinify option, before importing your image, change the alpha channel to black, them just edit the image and place the alpha channel again!

@odrick
Copy link
Owner

odrick commented Apr 28, 2021

No, this is impossible. PNG compressed by webkit and have no options.

@odrick odrick closed this as completed Apr 28, 2021
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