# fix: preserve colors when copying translucent pictures · clo/snowbound

[View on GitCafe](https://git.cafe/clo/snowbound/commit/229f12f5ff836ffa36d21023589fe3955df3f21d)

Repository: [clo/snowbound](https://git.cafe/clo/snowbound)

Visibility: public

Requested revision: 229f12f5ff836ffa36d21023589fe3955df3f21d

Requested commit: 229f12f5ff836ffa36d21023589fe3955df3f21d

Commit: 229f12f5ff836ffa36d21023589fe3955df3f21d

Tree: af99cc50a44ed7e8e8d9134a47f2b870fd12daa6

Author: clover caruso

Committer: clover caruso

## Message

```
fix: preserve colors when copying translucent pictures

Reverse the renderer’s linear-light premultiplication before encoding non-PNG pictures for the clipboard. Cover translucent TIFF colors alongside exact PNG alpha.

Refs #80

Assisted-by: gpt-6.1-sol

```

## Parents

- [519c225b1dd09a293f258f6422dbb315f1473302](https://git.cafe/clo/snowbound/commit/519c225b1dd09a293f258f6422dbb315f1473302?format=markdown)

[Source at this commit](https://git.cafe/clo/snowbound/tree/229f12f5ff836ffa36d21023589fe3955df3f21d?format=markdown)
