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

Detect the need of custom overlay #5

Open
spillerrec opened this issue May 17, 2017 · 1 comment
Open

Detect the need of custom overlay #5

spillerrec opened this issue May 17, 2017 · 1 comment
Assignees

Comments

@spillerrec
Copy link
Owner

The FLIF api doesn't currently save transparent colors, making it impossible to use the overlay method for transparent images with this format, which is always used, even when not needed no transparency is needed. So FLIF support is uterly broken.
Furthermore, FLIF compresses better when we ignore transparent colors, so only saving them when needed could save us a little. This is likely also the case with WebP, though I haven't tried.

Work items:

  • Raise issue at FLIF to find out how to save the transparent colors
  • Detect the need of storing the transparent colors
  • Support changing the settting in the encoder dynamically
@spillerrec
Copy link
Owner Author

Patch have been submitted and merged into FLIF for fixing the transparency issue.

I have made it possible to control this option in the Qt plugin by using the compression option, setting it to 1 instead of 0 removes alpha information. This is yet to be done with the WebP plugin.

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

No branches or pull requests

1 participant