google / google/jpegli

Unable to input grayscale PNG

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
401
Forks
66
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The binary in the link below allows it, but the google/jpegli one does not allow grayscale input.
https://github.com/libjxl/libjxl/releases/download/v0.10.3/jxl-x64-windows-static.zip

**To Reproduce**
The following message appears when a grayscale PNG image is input
libpng warning: iCCP: profile 'icc': 'GRAY': Gray color space not permitted on RGB PNG
Failed to decode input image S:\Temp\18.png

**Environment**
- OS:Windows 10 Pro 22H2
- CPU type: AMD64
- cjxl/djxl version string: 3e50579

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.