python-pillow / python-pillow/Pillow
Add CMYKA Support
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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