Skip to content

process_cmd example to fix MacOs gamma issue on XDR displays #102

@codingluke

Description

@codingluke

Is your feature request related to a problem? Please describe.

On my Mac Pro with a XDR Display, which can not change the Color Profile, the pasted PNGs where always very faded like this

Image

I found out, that this Problem was also reported at the pngpaste repository
The solution of this Issue does not work for me, as it is not possible to set a custom Color profile for my specific XDR display.

Describe the solution you'd like

After many frustrated tests I came across this stackoverflow issue to correct gamma through ImageMagick. https://stackoverflow.com/a/49453874

I tried following config, which worked perfectly :)

      default = {
        process_cmd = "convert - -set gamma 0.4545 -",
      },

Image

Maybe it would be helpful for others to have this as hint in the Readme?

Best and thanks for your work!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions