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

Wrong Colors when using WEBP images in cbz #1294

Closed
5 tasks done
IndySE opened this issue Nov 13, 2023 · 3 comments
Closed
5 tasks done

Wrong Colors when using WEBP images in cbz #1294

IndySE opened this issue Nov 13, 2023 · 3 comments
Labels
bug Something isn't working dependencies Related to project dependencies released

Comments

@IndySE
Copy link

IndySE commented Nov 13, 2023

Steps to reproduce

I try WEBP images inside a CBZ. The Thumbnail and the OPDS Stream have wrong Colors. Everything has a yellow shade. The Webreader shows the right Colors.

JPG.zip
WEBP.zip
Example

Expected behavior

The JPG and WEBP Image should look the same

Actual behavior

The WEBP Images show weong colors

Logs

No response

Komga version

1.7.2

Operating system

Linux with Docker

Installation method

Docker

Other details

No response

Acknowledgements

  • I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I have checked the FAQ.
  • I have updated the app to the latest version.
  • I will fill out all of the requested information in this form.
@IndySE IndySE added the triage label Nov 13, 2023
@gotson
Copy link
Owner

gotson commented Nov 14, 2023

Thanks for the report. I have raised this in haraldk/TwelveMonkeys#864 as Komga is using a third-party library for WebP.

The NightMonkeys webp plugin decodes the images correctly. I may include the NightMonkeys webp plugin in Komga, and use it if the native library is present, and else fallback to TwelveMonkeys.

@gotson gotson added bug Something isn't working dependencies Related to project dependencies and removed triage labels Nov 14, 2023
@gotson gotson closed this as completed in 7b1a9e4 Nov 29, 2023
@gotson
Copy link
Owner

gotson commented Nov 29, 2023

Komga will now use the native library if present, however i could not bundle the lib in the docker image, as the Ubuntu repo only have an outdated version dating before the critical WebP CVE.

Copy link
Contributor

🎉 This issue has been resolved in 1.8.3 (Release Notes)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working dependencies Related to project dependencies released
Projects
None yet
Development

No branches or pull requests

2 participants