Rendering 101
Introduction
The basic principles for rendering in Mako are straightforward, and are demonstrated in two of the simple examples (render and separatedrender) that ship with the Mako SDK. For example, rendering to RGB from a PDF or other input file involves these steps:
CPP
|
C#
| |
CPP
|
C#
| |
CPP
|
C#
| |
CPP
|
C#
| |
CPP
|
C#
| |
This example generates an IDOMImage
, which is a Mako class for a generic image and its properties. They can be encoded and written as TIFF, JPEG or PNG without the need for third-party libraries - they are ready built-in to Mako. Renderer methods are also available to render directly to a buffer, if preferred.