beta
cables is under heavy development.
There might be one or another bug, please let us know about it!

DrawImage_v2 Op

Ops.Gl.TextureEffects.DrawImage_v2


DrawImage

Op author: pandur

There is a newer version of this op!


This version will not receive any updates. It is recommended to use a newer version.

Current version: Ops.Gl.TextureEffects.DrawImage_v3

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

caniuse query

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

combining textures

example showing how to combine multiple textures to a new one

Open Example In Editor


Youtube Video Tutorial

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 ()