ILL Aegisub Scripts
ILL is a library and macro collection for Aegisub focused on three hard problems:
- treating ASS text as structured data instead of opaque strings
- turning drawings into real geometric objects that can be transformed, merged, trimmed, offset, and warped
- converting raster images into ASS output through pixel conversion, color tracing, or monochrome vectorization
The project is split into user-facing macros and reusable modules. The macros are not thin demos: they are the main proof of how the modules are intended to be used in real typesetting workflows.
Who This Documentation Is For
This site is written for two audiences:
- macro users who want to know what each tool actually does before running it in Aegisub
- macro authors who want to build on top of
ILL.ILL,ILL.IMG, andclipper2.clipper2
What You Will Find Here
Guides
- Macros: implementation-based explanations of the shipped tools, what they operate on, and what kind of output they generate.
- Modules: a project map showing how the public modules fit together.
Module Reference
- Core: Aegisub integration, configuration storage, ASS context helpers, and core utility modules.
- Text and Tags:
Tag,Tags,Text, andLine. - Geometry:
Point,Segment,Curve, andPath. - Image:
IMG,Tracer, andPotrace. - Clipper2: the low-level geometry backend used by
Path.
Recommended Reading Order
If You Mainly Want To Use The Macros
- Start with Macros to understand the intent and scope of each tool.
- Read Text and Tags if you work mostly with dialogue lines.
- Read Geometry if you work mostly with drawings and clips.
- Read Image only if you need raster-to-ASS workflows.
If You Want To Build New Tools On Top Of The Library
- Start with Core to understand
Ass,Aegi, andConfig. - Move to Text and Tags to learn how lines are parsed and rewritten.
- Read Geometry for shape manipulation and path-based workflows.
- Use Image and Clipper2 when your tool really needs them.
Project Map
Main Macros
ShaperyEnvelope DistortMake ImageChange AlignmentILL - Split TextLine To FBF
Public Modules
ILL.ILLILL.IMGclipper2.clipper2
How The Project Is Intended To Be Used
The normal high-level workflow looks like this:
- open a line or shape in Aegisub
- run a macro that turns that line into a richer internal object
- let the macro apply text parsing, geometry processing, or image conversion through the
ILLmodules - write the result back as one or more ASS lines
That same workflow is what the module reference pages document in detail.