Skip to content

Uploaded cover images too dark  #3275

@WouterKoch

Description

@WouterKoch

Describe the bug/problem
Cover images that are uploaded manually or fetched from an url are stored much darker than the original file.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Edit Metadata' on a book in the library
  2. Paste the url under "Fetch Cover from URL (JPEG - Image will be downloaded and stored in database)" or choose "Upload Cover from Local Disk" and upload manually
  3. Save
  4. The resulting image is darker than the original

Screenshots
Uploaded image:
51fYhNWq6mL

Result:
Screenshot from 2025-01-04 23-39-29

See also https://www.reddit.com/r/selfhosted/comments/1hr2eix/calibreweb_cover_image_dark/

Environment:

  • OS: Debian GNU/Linux 12 (bookworm)
  • Python version: 3.12.3 (main, Nov 6 2024, 18:32:19) [GCC 13.2.0]
  • Calibre-Web version: 0.6.24 - 0af52f2 - 2024-11-16T07:21:28+01:00
  • Docker container: lscr.io/linuxserver/calibre-web:latest
  • Browser: Firefox 128.5.0esr (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions