mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-04 21:50:54 +03:00
Support saving cICP chunk
This commit is contained in:
parent
cf7dd2f0e9
commit
427244877b
|
@ -1382,7 +1382,7 @@ def _save(
|
|||
b"\0", # 12: interlace flag
|
||||
)
|
||||
|
||||
chunks = [b"cHRM", b"gAMA", b"sBIT", b"sRGB", b"tIME"]
|
||||
chunks = [b"cHRM", b"cICP", b"gAMA", b"sBIT", b"sRGB", b"tIME"]
|
||||
|
||||
icc = im.encoderinfo.get("icc_profile", im.info.get("icc_profile"))
|
||||
if icc:
|
||||
|
|
Loading…
Reference in New Issue
Block a user