|
Provides the default image import options.
Note: If the insertion frame is inferior to 1 (default being 0), the imported image will have the exposure of the full scene length.
Public Member Functions | |
| ImportRasterSettings (int insertion_frame=0, QString vectorization_type="KEEP_ORIGINAL", QString colour_space="sRGB", QString alignment_type="CENTER_FIT", QString transparency_type="PREMULTIPLY_STRAIGHT", QString vectorization_options="Grey") | |
| The default constructor. More... | |
Public Attributes | |
| QString | vectorization_type |
| The conversion method to import the image into an element drawing. "KEEP_ORIGINAL" by default. More... | |
| QString | vectorization_options |
| The vectorization preset method, with all its default or user defined vectorization specifications. "Grey" by default. More... | |
| QString | colour_space |
| The final colour space of the imported frames. "sRGB" by default. More... | |
| QString | alignment_type |
| The alignment on the canvas of the imported frames. "CENTER_FIT" by default. More... | |
| QString | transparency_type |
| The value to multiply the canvas in case the imported drawing has alpha values. The default value is "PREMULTIPLY_STRAIGHT". More... | |
| int | insertion_frame |
| The frame number on which to insert the import. More... | |
| OMH::ImportRasterSettings::ImportRasterSettings | ( | int | insertion_frame = 0, |
| QString | vectorization_type = "KEEP_ORIGINAL", |
||
| QString | colour_space = "sRGB", |
||
| QString | alignment_type = "CENTER_FIT", |
||
| QString | transparency_type = "PREMULTIPLY_STRAIGHT", |
||
| QString | vectorization_options = "Grey" |
||
| ) |
The default constructor.
| QString OMH::ImportRasterSettings::alignment_type |
The alignment on the canvas of the imported frames. "CENTER_FIT" by default.
| Alignment | Value |
|---|---|
| Left | LEFT |
| Right | RIGHT |
| Top | TOP |
| Bottom | BOTTOM |
| Center fit | CENTER_FIT |
| Center fill | CENTER_FILL |
| Center LR | CENTER_LR |
| Center TB | CENTER_TB |
| Stretch | STRETCH |
| ASIS | ASIS |
| Center first page | CENTER_FIRST_PAGE |
| QString OMH::ImportRasterSettings::colour_space |
The final colour space of the imported frames. "sRGB" by default.
Avaialble colour spaces:
|
inherited |
The frame number on which to insert the import.
The default value is the first frame.
| QString OMH::ImportRasterSettings::transparency_type |
The value to multiply the canvas in case the imported drawing has alpha values. The default value is "PREMULTIPLY_STRAIGHT".
| Pre-multiplication method | Value | Description |
|---|---|---|
| Pre-multiply with black | PREMULTIPLY_WITH_BLACK | Premultiplied with Black |
| Pre-multiply straight | PREMULTIPLY_STRAIGHT | Straight |
| Pre-multiply with white | PREMULTIPLY_WITH_WHITE | Premultiplied with White |
| Pre-multiply minimum | PREMULTIPLY_MIN | min (alpha,color) - not available with vectorized frames. |
| QString OMH::ImportRasterSettings::vectorization_options |
The vectorization preset method, with all its default or user defined vectorization specifications. "Grey" by default.
| QString OMH::ImportRasterSettings::vectorization_type |
The conversion method to import the image into an element drawing. "KEEP_ORIGINAL" by default.
| Conversion Type | Value |
|---|---|
| Keep as original Bitmap | KEEP_ORIGINAL |
| Import as toonboom Bitmap drawing | TOON_BOOM_BITMAP |
| Convert to toonboom vector drawing | VECTORIZE |

