python-pillow / python-pillow/Pillow

Add CMYKA Support

Open
#3,989 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement TIFF
Dominant language
Python
Stars
13.8k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
89

Description

What did you do?

Work with CMYK tif images with Alpha (Transparency)

What did you expect to happen?

To work in the same way a RGBA image would.

What actually happened?

Currently fails to load the images

What are your OS, Python and Pillow versions?
  • OS: Windows 10
  • Python: 3.7
  • Pillow: 6.1.0

Attached sample image.
Aus_03.zip

Contributor guide

Open the contributing guide

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 failure with the attached Aus_03.zip CMYK TIFF sample using Pillow 6.1.0 on the reported environment, then trace the image-loading path for CMYK images with alpha. Done means the CMYKA TIFF loads successfully and behaves like an RGBA image.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision
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.