GIMP YCC Inversion

Performs a value-inversion on the current layer, based on its representation in the YCC colorspace. The result is similar to the existing "Value Invert" command (but without that command's color-distortion introduced from low RGB values) and can be quite striking on certain source images.
Accessible via (Image) > Colors > Components > Luma invert.

AttachmentSize
invert-YUV.scm2.23 KB

Comments

Should have thanked you many

Should have thanked you many years ago, but had reason to find your Script-fu and now giving you my thanks. I use your Script-fu for color amplication and hyper contrast mask so many times that it's almost used for every edit that I do if I want to boost color/sat. Thanks a heap for sharing this one with us. :)

Run it twice

This is not a criticism, but just an observation that if you run this filter again on its own input you do not wind up with the same image you started with. There are some subtle differences. So it can't be doing a true value invert. Some sort of artifacts or distortion is being introduced.
Syndicate content