beta
cables is under heavy development.
There might be one or another bug, please let us know about it!
DrawImage
Ops.Gl.TextureEffects.DrawImage_v2
Draws an image into a composition

summary (oneliner)

Remove alpha source removes the alpha channel from the image input.
Deselect this to use the alpha data of the texture coming in.
To use multiple Draw image ops check out the blend modes.

doc

issues

youtube id

collections

related ops

Inputs

render (Trigger)

blendMode index (integer / Number)

Blending

blendMode (string / Number)

amount (Number)

image (Object)

removeAlphaSrc (boolean / Number)

If this is enabled then the alpha value is 1 for everything


Mask

imageAlpha (Object)

alphaSrc index (integer / Number)

Mask

alphaSrc (string / Number)

invert alpha channel (boolean / Number)

Aspect Ratio

Aspect Ratio (boolean / Number)

Stretch Axis index (integer / Number)

Aspect Ratio

Stretch Axis (string / Number)

Position (Number)

Crop (boolean / Number)

flip x (boolean / Number)

flip y (boolean / Number)

Transform (boolean / Number)

Scale X (Number)

Scale Y (Number)

Position X (Number)

Position Y (Number)

Rotation (Number)

Clip Repeat (boolean / Number)

Outputs

trigger (Trigger)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save
video tutorial:

Credits


Changelog


added Aspect Ratio Fix Checkbox
2019-02-07 - pandur

code cleanup ports
2019-05-27 - andro

Examples using DrawImage_v2

Public Patches using DrawImage_v2