odrick / free-tex-packer

Free texture packer
http://free-tex-packer.com/
MIT License
897 stars 161 forks source link

PNG compression #44

Closed My-Key closed 3 years ago

My-Key commented 4 years ago

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 commented 3 years ago

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 commented 3 years ago

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