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

Fix color management by keeping ICC color profiles and EXIF data in addition #136

Merged
merged 15 commits into from
Nov 26, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove add_icc_profile() from save_as_gif(). The GIF file format does…
… not supoort color profiles
  • Loading branch information
andre-fuchs committed Nov 2, 2023
commit 4d0dbb676e711ff102de8715dea900b487a3c93d
2 changes: 0 additions & 2 deletions willow/plugins/pillow.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ def save_as_gif(self, f, apply_optimizers: bool = True):
if "transparency" in image.info:
kwargs["transparency"] = image.info["transparency"]

kwargs = self.add_icc_profile(image, kwargs)

image.save(f, "GIF", **kwargs)
if apply_optimizers:
self.optimize(f, "gif")
Expand Down