Copyright  

Step 4.
Make placeholders for your image and text area.

  • A file with CFG extension describes initial position of photo and text on the card.

    Create new TV.TXT text file in the same folder where are TV.JPG and TV.MSK files. Open it with any text editor (e.g. Notepad) and enter one text string:

    0 15 20 60 65 Arial 1 0 255 127 63 10 5 50 25 1
 

 

  • Save this file and rename it to TV.CFG. Here is the description of string format. All coordinates are given in percents and vary from 0 to 100. All coordinates are measured from top left corner of the card.
0 - Portrait (1 - Landscape)
15 - horizontal coordinate of left top photo corner.
20 - vertical coordinate of left top photo corner.
60 - horizontal coordinate of right bottom photo corner.
65 - vertical coordinate of right bottom photo corner.
Arial - Font for text in text block on the card
1 - Bold (0 - if not)
0 - Not Italic (1 - if Italic)
255 - Text color Red (from 0 to 255)
127 - Text color Green (from 0 to 255)
63 - Text color Blue (from 0 to 255)
10 - horizontal coordinate of left top text block corner.
5 - vertical coordinate of left top text block corner.
50 - horizontal coordinate of right bottom text block corner.
25 - vertical coordinate of right bottom text block corner.
1 - text align (0 - left, 1 - center, 2 - right)

 

Download template_sample.zip (111k) containing the template files used in the lesson.
      back