"oiiotool A.png --pattern constant=0.1,0.1,0.1 1x1 3 --add -o B.png"

looks like a lot of trouble for the user to do a simple thing such as add
a constant to all channels. I am thinking of something simpler:

oiiotool A.png --add "0.2" -o B.png

and if you want to add a different constant to all channels:

oiiotool A.png --add "0.1, 0.2, 0.3" -o B.png

An error would occur if you provide more values than the number
of channels A has. Also we should have min and max parameters
to clamp values that go above or below. For example for range 0 to 4:

oiiotool A.png --add "0.1, 0.2, 0.3" 0 4 -o B.png

Another question is, what do we do for the users that don't know
what brightness adjustment is? The ones that know can add
a constant as we do above but what if they don't?

I think we should have a brightness function, Photoshop, GIMP
and others have it and I assume many users won't know what
brightness adjustment is.
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to