Skip to content

Conversation

@LucasChollet
Copy link
Member

It makes accessing the bad compression artifacts from our JPEG encoder even easier!

$ image --assign-color-profile sRGB -o buggie-srgb.jpg buggie.png

This simplifies the API quite a bit as we won't have to pass complicated
`Variant`s around.
This will allow us to reuse this code for the `--assign-color-profile`
option, and gain support for internal profiles (like "sRGB") there too.
This option is already supported in `--covert-to-color-profile`.
And it allows invoking the tool this way:
```
$ image --assign-color-profile sRGB -o buggie-srgb.jpg buggie.png
```
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Oct 22, 2025
@nico
Copy link
Contributor

nico commented Oct 22, 2025

Thanks! This came out very nicely :)

@nico nico merged commit 4358766 into SerenityOS:master Oct 22, 2025
12 checks passed
@github-actions github-actions bot removed the 👀 pr-needs-review PR needs review from a maintainer or community member label Oct 22, 2025
@LucasChollet LucasChollet deleted the image_srgb branch October 23, 2025 07:10
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

Successfully merging this pull request may close these issues.

2 participants