SNESEffect.avsi
— Pixelated SNES effect¶
-
global SNESPixelEffectBlend = true
The default value for the blend argument. The default default is true.
-
global SNESPixelEffectCenter = false
The default value for the center argument. The default default is false.
-
SNESPixelEffect
(c, size[, blend[, center]])¶ Parameters: - c (clip) – the clip to pixelate. Currently, this clip MUST be RGB. (This is due to chroma subsampling otherwise screwing up the effect on odd pixel sizes.)
- size (int) – the size of pixels (must be less than or equal to the smaller input clip dimension)
- blend (bool) – when
true
, individual pixels are “blended” together to form a single large pixel. When false, a single pixel is chosen and expanded to be the larger pixel. (false
is more true to the SNES,true
probably looks better.) The default is the value of the globalSNESPixelEffectBlend
. - center (bool) – when
true
, “centers” the left-most pixel. This is probably a mis-feature and doesn’t really work when “blend” is true, but whatever. Default is the value of the globalSNESPixelEffectCenter
.
Do an SNES pixelation effect on the given clip.