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

Please allow indexed pngs to NOT store transparent bit #1572

Closed
bfloch opened this Issue Sep 12, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@bfloch

bfloch commented Sep 12, 2017

Describe your bug report or feature request here
I have not found a way in aseprite to not have transparency in palette images, therefore I think at least an option to not write the tRNS bit in pngs should be given. Possibly other formats, too.

Basically I think this guy should be optional:
https://github.com/aseprite/aseprite/blob/master/src/app/file/png_format.cpp#L458

This command line tool called pngcrush does pretty much fixes it for me as workaround:

pngcrush -rem tRNS input.png output.png

Aseprite and System version

  • Aseprite version: 1.1.13, Steam
  • System: Linux, 4.12.8-300.fc26.x86_64, Fedora 26

@dacap dacap self-assigned this Sep 12, 2017

@dacap

This comment has been minimized.

Show comment
Hide comment
@dacap

dacap Sep 12, 2017

Member

Doesn't look too complex and it might be easy to avoid when all palette entries are opaque. +1 for the next release

Member

dacap commented Sep 12, 2017

Doesn't look too complex and it might be easy to avoid when all palette entries are opaque. +1 for the next release

@dacap

This comment has been minimized.

Show comment
Hide comment
@dacap

dacap Sep 26, 2017

Member

I forgot about this one, will fix this for v1.2.1

Member

dacap commented Sep 26, 2017

I forgot about this one, will fix this for v1.2.1

@dacap dacap closed this in 33507fd Sep 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment