Invert: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m 1 revision
Raffriff42 (talk | contribs)
m added category
Line 22: Line 22:


[[Category:Internal filters]]
[[Category:Internal filters]]
[[Category:Levels_and_Chroma_filters]]

Revision as of 16:43, 8 November 2015

Invert(clip clip [, string channels])

Inverts one or several channels of a clip.

channels defines which channels should be inverted. The default is all channels of the current colorspace. Valid channels are R,G,B,A for RGB clips, and Y,U & V for YUY2 and YV12 clips.

Example:

AviSource("clip.avi")
ConvertToRGB32()
Invert("BG")  # inverts the blue and green channels

Changelog:

v2.55 Added RGB24, YUY2 and YV12 mode.
v2.53 Initial Release