Is it possible to export color cutouts with rescaled contrast/brightness?

I’m interesting in extracting color cutouts from the viewer. I’m familiar with the URL-based functionality to pull the images, but I am hoping to do so after applying the image rescaling functionality provided by the brightness/contrast sliders. Is this something that is possible? If not, is there open-source code that would be a good starting place so as to try to reverse engineer that?

Thanks!

2 Likes

Hi,

The brightness-contrast sliders are done by the browser using CSS controls, so we can’t easily reproduce that in the cutouts.

I would think any image-editing software would give you brightness/contrast controls. Certainly https://www.gimp.org/ does. It looks like the ImageMagick tools (“convert”, eg) also have those options: ImageMagick – Command-line Options .

cheers,
dustin

1 Like

Thanks Dustin! The imagemagick route looks very promising. One more question - since I’m trying to recreate the slider’s effect closely, would you be able to comment on what the operation the brightness slider is performing actually is? I tried quite a few options and found I could not closely reproduce it by tweaking the lightness/gamma/etc with imagemagick commands

1 Like

I would look in the CSS specs for what the brightness control does numerically – eg

looks like it has equations.