Plugin : GIF render

Author:Rex.Rainbow

Download

Properties

Repeat

  • Repeat count, -1 = no repeat, 0 = forever.

Quality

  • Pixel sample interval, lower is better.

Workers

  • Number of web workers to spawn.

Background

  • Background color where source image is transparent.

Transparent

  • Transparent hex color, "0x00FF00" = green, "" = null.

Actions

0. Configuration

Action:Set repeat

  • Set repeat count.
    • Repeat ( number ) : Repeat count, -1 = no repeat, 0 = forever.

Action:Set quality

  • Set pixel sample interval.
    • Quality ( number ) : Pixel sample interval, lower is better.

Action:Set workers

  • Set workers.
    • Workers ( number ) : Number of web workers to spawn.

Action:Set background color

  • Set background color
    • Background ( number or string ) : Background color where source image is transparent.

Action:Set transparent

  • Set transparent hex color
    • Transparent ( number or string ) : Transparent hex color, "0x00FF00" = green, "" = null.

1. Add frame

Action:Add frame

  • Add frame from sprite or canvas.
    • Frame ( object ) : Current frame of Sprite, or canvas object.
    • Delay ( number ) : Frame delay, in seconds
    • Copy ( Combo ) : Copy or add frame.
      • Options : ["Add","Copy"]

2. Render

Action:Render

  • Render GIF.

Result

Action:Release

  • Release object URL of render result.

Expressions

Result

Expression:ObjectURL

  • Get object URL of render result. Return "" if result is invalid.

Expression:ContentType

  • Get content type of render result. Return "" if result is invalid.

Conditions

Event

Condition:On finished

  • Trigger when render is finished