QL-Win / QL-Win/QuickLook

Previewing JPG file in CMYk results in black background and wrong colors

Open
#1,307 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
24.7k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
1

Description

Describe
When preview an JPG which is exported in CMYK. the preview results in wrong colors and wrong background

To Reproduce

  1. Find attached JPG in your download folder.
  2. Select it and press spacebar to QuickView it
  3. Result is a preview with black background and wrong colors

Expected behavior
A preview of an image how it is intended. Seems it always thinks an image is RGB

Desktop (please complete the following information):

  • Win11 25375.1
  • 3.7.3

Screenshots and Exception Log

preview from spacebar

quickview-cmyk-jpg

intended preview as seen in photoshop

quickview-cmyk-jpg-intended-preview

PS no info about the logfile. This issue template showed something with a link, but it links to something about distribution
(https://github.com/QL-Win/QuickLook/wiki/Differences-Between-Distributions#user-data-location

This is at the bottom of the issue bug template

If applicable, add screenshots and logs to help explain your problem. The log file is located in one of several locations.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in QuickLook on Windows 11 with the attached CMYK JPG and compare it with an RGB preview. The issue names no source file or test, so trace the image preview path from the spacebar QuickView entry point. Done means the CMYK image renders with its intended colors and background.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
computer-graphics, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.