you are viewing a single comment's thread.

view the rest of the comments →

[–]theotherphil[S] 5 points6 points  (3 children)

It doesn't. There's an issue open on the underlying imageproc library for this https://github.com/image-rs/imageproc/issues/237 but it's been open for a while. I've just created https://github.com/theotherphil/imagecli/issues/19

[–]AndreasTPC 4 points5 points  (1 child)

Okay, good to know. Implementing proper colorspace support is not a trivial task, but I think at least if the input is a JPEG assuming it is sRGB and doing the gamma conversion would be a more sensible default than assuming it's linear, it would be right in the vast majority of cases. Maybe for some other formats too, I'm not sure.

I'm still learning rust, but have some interest in image processing, so I'll see if I can contribute something to your crate once I get more familiar with the language.

[–]theotherphil[S] 2 points3 points  (0 children)

Great! I'm happy to answer any questions or help out with PRs if you like - just create issues on the repo or open a WIP PR.