Style Definitions


Introduction

Definition Toolbar

Settings

General Group

Text Group

Font Group

Captioning Group

Text Effects Group

Miscellaneous Definitions

Prototype Group

Tools Subgroup

Prototype Information Subgroup

Title Safe Subgroup

Prototype Text Subgroup

Prototype File Subgroup

Buttons


Introduction

The Style Definitions window controls the output format, font information, text positioning and lots of other settings for image formatting. Groups of settings can be saved as an 'Style Definition'.    Different definitions can be defined, and saved on the Style Definitions window.  Each image can use a different 'Style Definition' as specified on the image text window on the main window.

A note about DVD subtitles.  The DVD specification calls for subtitles or captions to only contain 4 colors.  These include the background color, the font color, a color under the text, and a color on the edge of the text.  TitleFactory handles all of these colors with the 'Background Color', 'Font Color', 'Undercolor', and 'Stroke Color' (respectively) on this dialog.  Note however, that when  'Undercolor' is specified, the resulting stroke will not only outline the text but also the border of the undercolor area.  This will not occur when a caption box is requested.

The Style Definitions window contains several sections.  The left side of the window contains the definitions.  The right side contains a window where a prototype of the style is displayed.  The size of the prototype is controlled by the View preferences from the main window.

 

Definition Toolbar

The buttons at the top of the window allow for the:

The currently-displayed definition is noted by the entry in the list box (shown above as 'Factory').

Settings

The settings part of the window contains collapse-able frames that can be toggled on or off.  All of them can be on.  If there is not enough room to display all of the definitions, a scrollbar will be displayed.  The following describes each of the frame groups in more detail. 

General Group

'Image Type' specifies the type of image produced and the suffix for the file.  Normal image types for DVD use are BMP and TIF.

'Image Width' and 'Image Height'  are the pixel  counts of the size of the created images. These parameters should match the video size.

The 'Background Color' indicates the color of the image background.

'Color Space' can be RGB or CMYK. 

'Quantum Depth' refers to which version of ImageMagick is installed.  The default, beginning in this release is 8.  ImageMagick can also be installed with a depth of 16.

Text Group

The 'H Position' and 'V Position' parameters specify the position of the subtitle text on the image.   When the text is being aligned to center (see Font Group below), then the 'H Position' value indicate the center of the text.  This is not the case when left or right alignment is chosen. 

When Align is 'Left" then each line of text will be aligned to the on the right side of the point defined by the 'H Position' .  Likewise when Align is 'Right" then each line of text will be aligned to the on the left side of the point defined by the 'H Position'.

The 'V Position' is a point at the bottom of the first line of text.

'Lines per Image' specifies the number of lines to place on each image.  Valid valued are 1-3. 

'Characters per Line' specifies the maximum number of characters to try to place on a line.

Encoding specifies how ImageMagick should encode the text for writing to the image.  Valid values are none, SJIS (Japanese), and UTF-8.

Font Group

The 'Font', 'Size',  'Style',  and 'Color' parameters are the same as what are used in other graphic and text editing packages.

'AAlias' specifies whether antialias will be used,  If this imaged is to be used in a DVD then the 'Antialias' checkbox should be turned off (unchecked).

Align' specifies the alignment of the text on the image.  Alignment not only justifies the text right, left or center but also aligns the text to the 'H Position' and 'V Position'.  For example,  'left' will align the text to the left of the 'H Position' and 'V Position' specified  (unless 'H. Center of Page' on 'Misc' Tab) is specified.

Captioning

Caption boxes and undercolor are similar in that they both place a solid color under the text.  A caption box however is a rectangle.  Undercolor may result in several rectangle (that is, one for each line of text that is on the image).  Both caption box and undercolor options use the same color button. 

Caption boxes are  useful for open captions where more contrast between the text and its background can be used.  The caption box can be turned on / off by checking/un-checking (respectively) the 'Caption Box' checkbox.

When the Caption Box option is used, there are two additional options.  The 'Caption Grow Amount' indicates the number of pixels to grow the box.  The 'Vertical Adjustment' can be used to move the box up and down.  Both of these options are necessary due to the different aspects of fonts which may display differently when placed on the image.

'Undercolor' is the color that will be placed in rectangular areas under each line of text.  This is useful for closed captions where more contrast between the text and its background can be used.  'Undercolor' can be turned on / off by checking/un-checking (respectively) the 'Undercolor' checkbox.

Text Effects Group

A drop shadow can be placed under the text with the 'Shadow' checkbox. 'Distance' (in pixels) and 'Direction' of the shadow can also be specified.  Shadow must not be used if the images are to be used in DVD production.

'Inner Stroke'  specifies that a non-antialiased outline, with the specified width, of the 'Color' specified should be used to outline the text. The outline will be drawn outside of the border of the text.  'Inner Stroke' will not be used if the 'Inner Stroke'  checkbox is unchecked. (Note that this differs from very early versions of TitleFactory where stroke was always antialiased.

'Outer Stroke' specifies that a non-antialiased outline, with the specified width,  of the 'Color' specified should be used to outline the inner stroke.   'Outer Stroke' will not be used if the 'Outer Stroke' checkbox is unchecked.

'Inner Stroke'  and 'Inner Stroke'   can be used in some DVD authoring packages to to create an antialias effect.  This can be done in SONICs ReelDVD and Scenarist by reducing the contrast of the stroke or 'Edge' colors in the .sst header.  This is not done automatically by TitleFactory.

The stroke colors must not be the same nor the same as the text or background colors.  Also, a warning is issued if both strokes are turned on and caption or undercolor is also turned on.  This would result in 5 colors on the image which is not allowed in the DVD Specifications.

Miscellaneous Definitions

'Vertical Spacing Adj' controls the spacing between the lines of text.  The text spacing will default to per the definition of the font if the value is 0.  Negative and positive numbers can be used.  Positive numbers widen the spacing while negative numbers lessen the spacing.

Character Spacing' controls the spacing between the characters of text.  The text spacing will default to per the definition of the font if the value is 0.  Negative and positive numbers can be used.  Positive numbers widen the spacing while negative numbers lessen the spacing.

'H. Center of Page'  will cause the 'Alignment' to always center to the page (actually to the 'H Position' specified).  'Alignment'  in this case will still justify left, center, or right but will always align to the center of the 'H Position' specified.

'Justify Down' is used when the images contain more than one line.  If the text is placed at the bottom of the image then, 'Justify Down' will always push the text down if the nth line is not used.  For example, if two lines are specified in the 'Process Definitions' dialog, but only one line is being placed on the image then the text will be push to the second line so that more of the video image can be seen.

 

Buttons

The 'OK' button saves the changes that have been specified. 

The 'Cancel' button cancels the changes. 

The 'Prototype' button creates a test image text file in the display window.  See below for explanation of additional buttons.

The 'Show' button displays the Prototype portion of the window.

The 'Revert' button reverts the definitions to the previous saved version of the Style Definitions.

The Undo button undoes the last change to a setting.

The Redo button re-does the last undo operation.

 

Prototype Group

The Prototype Groups along with the image display area is displayed when the Prototype button or the Show button is depresses.

Tools Subgroup

 

The buttons in this group can be used to manipulate the view of the prototype image.

Use the the Hand Tool   to scroll images and zoom in or zoom out buttons.  The Image Information section displays the image size, the position of the cursor and the color values of the image pixel under the cursor.

Prototype Information Subgroup

This section provides information about the size of the image and the position, and color under the cursor when the cursor hovers over a prototype image.

Title Safe Subgroup

This determines if a title safe border should be shown on the prototype image.

Prototype Text Subgroup

The prototype text area contains the text to display in the prototype window.  Although multiple lines can be entered the lines display will be limited to 'lines per image' specified above.  Prototype text will not be parsed by TitleFactory's parsing routines.  The prototype is only meant to test the Style Definitions.

Characters on a line will also be truncated to 'Characters per line' specified in the Process Settings Window.

Note that when the Prototype function is used, immediately after a 'STOP' action from the main window, the 'RESUME' button will be disabled and the entire process will need to be restarted from the beginning using the 'CREATE IMAGES' button or the 'RECREATE' button from the main window.

Prototype File Subgroup

The 'Base File' is a 'JPG, BMP, or GIF image that will be used to display under the prototype text image.  The file can be selected using the '...' button.  The 'Use Base' checkbox, when checked, causes the base image be displayed when the prototype button is pressed.

 

 

Copyright © 2002-2007 Riverslime Productions. All rights reserved.