Class: ColorSpace

AviSynth. ColorSpace

new ColorSpace()

A color space. Note that while you can construct new instances of this object, there is no point in doing so, as only the built-in color space instances actually do anything.

(Actually, strictly speaking, the above is not true: any place that JSVSynth requires a AviSynth.ColorSpace, it's actually looking for either a string or an object which contains a property called name that contains the name of the color space. So you can in fact create a "new" ColorSpace object and if you supply the name of an existing color space, it will, in fact, "work." But there's no point to doing this.)

Source:

Members

<static> RGB24

The RGB24 color space.
Source:

<static> RGB32

The RGB32 color space.
Source:

<static> YUY2

The YUY2 color space.
Source:

<static> YV12

The YV12 color space.
Source:

<readonly> name

The name of the colorspace. This is a string, and is one of:
  • RGB32
  • RGB24
  • YUY2
  • YV12
Source: