You are viewing an old version of this page. View the current version.
Transforms in Mako are classes that perform a specific task on a single object or group of objects.
For example, there are transforms for:
- Image downsampling (
- Color conversion (
- Color simplification (
- Image merging (
- Remove non-visible Optional Content (
Some of these are complex operarations involving a number of steps. Transforms simplify such operations.
Custom Transform header
A framework to enable development of external, custom transforms is provided as a header,
However, it's not part of the standard distribution, but can be downloaded from the link shown on the right of this page. Note that there are two versions, one for pre-Mako 4.8 and another for Mako 4.8. Mako 4.8 introduces a mechanism for aborting a transform operation, so the Mako 4.8 header must be used with Mako 4.8.
A custom transform implements call backs
Callback interface that provides methods for actually doing the work.
* Override the cases you are interested in.
- No labels