Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"--map" using icc/gamma in map-file #365

Open
aslakr opened this issue Sep 18, 2020 · 1 comment
Open

"--map" using icc/gamma in map-file #365

aslakr opened this issue Sep 18, 2020 · 1 comment

Comments

@aslakr
Copy link

aslakr commented Sep 18, 2020

If given a map file with icc/gama/chrm should should the resulting file be transformed using that instead of the default sRGB?

I.e. if given one of the following map-files with iccp/gama:

16-apple-colors-gama-iccp 256-apple-colors-gama-iccp

the result would transform into that color space?

Or maybe it would be better to specify a a color profile:

pngquant --icc /usr/local/share/color/icc/colord/AppleRGB.icc

?

@kornelski
Copy link
Owner

kornelski commented Sep 18, 2020

If you compile with color profile support, pngquant will convert everything to sRGB.

I don't recommend using any other color space. In 8 bit depth there isn't room to do anything fancy like wide gamut color, and using different flavors of sRGB-like spaces only brings you rounding errors and software incompatibilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants