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

[Suggestion] Back-fill cover* and example images with transparency by the comic's colour #93

Open
Olf0 opened this issue Apr 1, 2024 · 0 comments
Labels
feature request Feature requests, suggestions, ideas etc. help wanted Extra attention is needed

Comments

@Olf0
Copy link

Olf0 commented Apr 1, 2024

Builds on the solution for issue #65:

For cover* and example images in image formats which may use transparency (e.g. PNG, WEBP), let Qt either render them on a canvas (i.e. background layer) with the comic's own colour (as specified in info.json) or substitute the transparency with the comic's colour on-the-fly (IIRC Qt allows for such operations while loading an image). See e.g. (spontaneously found) doc.qt.io:qml-item-layers.

@Olf0 Olf0 added feature request Feature requests, suggestions, ideas etc. help wanted Extra attention is needed labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature requests, suggestions, ideas etc. help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant