Working with graphics objects
Displaying graphics
With the exception of the Lynx logo which is not editable (besides choosing which corner it will be located), static and dynamic graphics can be displayed anywhere on the ResulTV screen. You can either use existing graphics or you can create your own graphics for display.
To place a graphic on the screen
- With a layout open on the ResulTV configuration screen, click Layout | New bitmap object. A new object box appears on the layout screen.
- Double-click the object. When the Object Properties dialog appears, select the image you want to display from the Static File: drop-down list. Click OK.
- Resize the object box by clicking and dragging its handle to a new size.
- Move the object box by dragging it and dropping it to a desired location.
Displaying FinishLynx image dynamically
You can display the FinishLynx image that corresponds with the results of the event you are sending to ResulTV.
Pre-requisites
- Share the C:\ResulTV directory (or wherever you installed the ResulTV files on the ResulTV computer) with the FinishLynx computer, being sure it has both read and write permissions.
- Make sure the FinishLynx and ResulTV computers are connected over a network (see "Using ResulTV over a network").
Configure ResulTV
Now, follow these steps.
- Be sure to be using the FinishLynx.rss source script.
- Click File | New to create a new layout.
- Click Layout | New Bitmap Object.... A new, blank graphic object appears on the layout.
- Double-click the new graphic object. The Object Properties dialog appears.
- Click the Basic tab.
- Select the Type: Dynamic radio button.
- From the Field: drop-down list, select Event-Round-Heat.
- To view an example, click File | Open and select 1024x768flags.rtv.
Configure FinishLynx
Be sure to use the ResulTV.lss scoreboard script.
Send data from FinishLynx
- With a saved, evaluated FinishLynx image open, hold down the right mouse button to draw a box around the portion of the image you want displayed on ResulTV.
- Click Export.... A Save As dialog appears. Navigate to the ResulTV directory that the ResulTV computer is using and click Save. Leave the name of the file as its default Event-Round-Heat format name from FinishLynx, for example, 001-1-01. ResulTV displays the FinishLynx image along with the event results.
note: By default, ResulTV will look for the image file in a Targa format (.tga). Your computer may save the image as a jpeg file (.jpg). If this is the case, go into the object’s properties in ResulTV, and change the Dynamic File: from “%s.tga” to “%s.jpg”.
Displaying a custom graphic
If you want ResulTV to display a custom graphic, make sure the graphic is an uncompressed 24-bit Targa (TGA) file, a JPEG file (.jpg), or a GIF file (.gif). Then, follow these steps:
Displaying Your Object Statically (company logos, backgrounds, etc.)
- Place the custom graphic file in the ResulTV directory on the ResulTV computer. This is the same directory where you stored the ResulTV files during installation, for example, C:\ResulTV.
- Run ResulTV and open a layout on the ResulTV configuration screen.
- Click Layout | New bitmap object. A graphics object box appears on the layout.
- Double-click on the graphics object box. The Object Properties dialog appears.
- From the Static File: drop-down list, select the custom graphic you placed in the ResulTV directory and then click OK.
- Move the graphics object box by dragging and dropping it to a desired location. When you click Alt + Tab to view the ResulTV display, your custom graphic appears on the screen.
Displaying Your Object Dynamically (country flags, school logos,
etc.)
- Save the file (.tga,.jpg, or.gif) in a directory. It must be named the same as what your object is representing will say. For example, if using an object for a school’s logo, and whenever that school will be shown in ResulTV it will show as an abbreviation, your object must be named that same abbreviation.
- Open a layout on the ResulTV configuration screen.
- Click Layout | New bitmap object. A graphics object appears on the layout.
- Double-click the object. Next to Dynamic Dir.: click “Browse” and select the directory that your object is located in. Next to Dynamic File: type “%s.(your file’s extension). This will be either.tga,.jpg, or.gif. So if you have a JPEG of a school logo, you will put %s.jpg, and make sure the Dynamic Directory is configured to the directory. Confirm the other settings (draw black as transparent, and in the case of GIF animations you can change the speed).
- Go to the Basic tab. Select the Dynamic radio button, and choose the appropriate field from the Field: drop-down menu. For example, in the case of the school logo, the object where place 1’s logo should be, choose “Affiliation 1” from the drop-down menu. For layouts containing more than one line of results, each line would contain its own dynamic object, each only differing in their field’s Affiliation #.
- Move the object by dragging and dropping it onto a desired location. When you press Alt + Tab to view the ResulTV display, the file you just added appears.
Clearing a dynamic graphic or text object
To clear any dynamic graphic or text objects from either the configuration or the display screen, simultaneously hold down the Alt and C keys. Only dynamic objects (not static objects) are cleared using this keyboard shortcut.
Displaying an existing graphic
ResulTV comes with sample TGA graphics files that you can display.
- Open a layout on the ResulTV configuration screen.
- Click Layout | New bitmap object. A graphics object appears on the layout.
- Double-click the graphics object box. An Object Properties dialog appears.
- Select a TGA file from the Static File: drop-down list and then click OK.
- Move the graphics object by dragging and dropping it onto a desired location. When you press Alt + Tab to view the ResulTV display, the TGA file you just selected appears.
Displaying GIFs
ResulTV has the ability to display GIF files. You'll find that .gif files appear in the Bitmap Static File:* drop-down menu. The GIF file format includes the delay after each frame, which can be different for each frame. You should be able to set this in your GIF editor. If you find a GIF somewhere and don't like the speed, you should be able to change the delays in an editor.
The GIF file format (optionally) includes the number of times that the animation should be played. The way the spec is written the animation should only be played once if this value is omitted. In ResulTV, however, an omitted value results in the animation playing continuously. If you only want 1 loop (or a finite number) then be sure to set the value in your editor. Some editors may always set this value (either to a finite number or to the "continuous" value, which is zero).
note: GIFs can take a while to load. 1.5MB file size takes about 1 second for ResulTV to load it. The mouse cursor should show the hourglass whenever a GIF is loading. Note that using undo/redo involves reloading bitmaps, so you'll see the delay then as well.
If you have many GIFs and/or large GIFs and/or GIFs overlapping large text areas then playback can slow down in ResulTV. In particular, a GIF overlapping text (especially long and/or large text) can cause some slowdown. Also, ResulTV enforces a minimum delay between frames of 30 milliseconds (corresponding to a maximum frame rate of 30 fps). GIFs are generally designed to run at less than 30 fps (20, 15, or 10 likely; [This is now controlled by a hidden setting (\Display\MinAnimDelay). The minimum value is 10 milliseconds]).
To change the speed of the GIF, double-click on the object and enter a new Speed: value. A value of 100 is "normal" speed, 200 is double, 50 is half, etc. Negative values can be used to run the animation backward.
By default ResulTV will always use black for the background color. This allows ResulTV to easily “erase” the background of the GIF by displaying black as transparent. To keep the black background, double-click on the object and uncheck “Draw black as transparent.” There is a hidden setting (Display\GIFUseBg) that if set to 1 ResulTV will use the background color stored in the GIF rather than using black. To display your GIF statically, see “Displaying a custom graphic”.
Displaying an existing graphic
ResulTV comes with sample TGA graphics files that you can display.
- Open a layout on the ResulTV configuration screen.
- Click Layout | New bitmap object. A graphics object appears on the layout.
- Double-click the graphics object box. An Object Properties dialog appears.
- Select a TGA file from the Static File: drop-down list and then click OK.
- Move the graphics object by dragging and dropping it onto a desired location. When you press Alt + Tab to view the ResulTV display, the TGA file you just selected appears.
Resizing a Bitmap Object
To avoid unexpected quality loss in bitmap objects, the size of new bitmap objects is locked. This can now be changed with the Stretch and Keep Aspect options.
- Double-click the bitmap object box. An Object Properties dialog appears.
- Go to the Basic tab.
- Check the Stretch Box. Note: To maintain the current width and height ratio to prevent any distortion to the object, also check Keep Aspect Tip: If you plan to resize a layout (see Resizing the Layout) and you want bitmap objects to also be resized, enable these options first.
note: Resizing bitmaps works well for simple block graphics like coloring field backgrounds, but may produce jagged edges or other quality degradation for more complex images.
Can I edit or delete the Lynx logo?
You cannot edit or delete the Lynx logo. You can choose which corner it appears in by going to File | Options | Display and choosing a corner from the Lynx Logo: drop-down list. Note: When the location of the display (File | Options… | Display) is set to Other and the height is <250 pixels, the Lynx logo will not appear.