|
Provides the default movie import options.
Note: If the insertion frame is inferior to 1 it will be set to 1.
Public Member Functions | |
| ImportMovieSettings (int insertion_frame=1, bool sound=True, QString vectorization_type="KEEP_ORIGINAL", QString colourSpace="sRGB", QString alignment_type="CENTER_FIT", QString transparency_type="PREMULTIPLY_STRAIGHT", QString vectorization_options="Grey") | |
| The default constructor. More... | |
Public Attributes | |
| bool | sound |
Import the sound of the movie. True by default. More... | |
| 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::ImportMovieSettings::ImportMovieSettings | ( | int | insertion_frame = 1, |
| bool | sound = True, |
||
| QString | vectorization_type = "KEEP_ORIGINAL", |
||
| QString | colourSpace = "sRGB", |
||
| QString | alignment_type = "CENTER_FIT", |
||
| QString | transparency_type = "PREMULTIPLY_STRAIGHT", |
||
| QString | vectorization_options = "Grey" |
||
| ) |
The default constructor.
|
inherited |
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 |
|
inherited |
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.
| bool OMH::ImportMovieSettings::sound |
Import the sound of the movie. True by default.
|
inherited |
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. |
|
inherited |
The vectorization preset method, with all its default or user defined vectorization specifications. "Grey" by default.
|
inherited |
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 |

