Image Styles
Each image style is composed of a list of background paint styles and a list of warp styles used to transform the rendered passphrase. Properties for these styles can be set within a style definition file and then imported to RetroCapture using the -s option.
The image is rendered using an HSV colorspace, with the H (hue) and S (saturation) kept constant within a single image. This results in a monochrome image. The default color is white, leading to a grayscale image.
The image can be faded towards the edge, so that it matches a particular surrounding color on the page within which it is embedded.
The image style provides the passphrase generation function. Currently, this is a randomly-generated string of between 1-12 (default 6) characters that cannot be easily confused. Specifically, the character set used is:
A B C D E F G H J K L
M N P Q R S T U V W X
3 4 5 6 7 8 9
Note that 0 (zero) and O (capital-oh), 1 and I, 2 and Z are excluded to avoid visual confusion, as is Y, which can appear similar to V after being warped. Each number appears in passphrases with twice the frequency of each letter.
The image height and width can also be modified.
Properties
color: The image color can be specified in a number of ways as detailed here. Default: color = white;
hue, saturation, value: This color can be given in the HSV color-space instead of RGB.
fade: If true, the image background is faded toward its edges so that it exactly equals the specified color at the edges. This is useful for blending a RetroCapture image into a colored web-page. Default: fade = false;
length: Passphrase length. Default: length = 6 (1 to 12 allowed);
width, height: Image size. Default: width = 128 (40 to 800 allowed); height = 80 (20 to 400 allowed)
paint: Comma-separated list of named paint-styles, for example paint = grid. These can also be inline variants of existing paint-styles, for example: paint = grid { color = 555555; random = true; };
warp: Comma-separated list of named warp-styles, for example warp = twist. These can also be inline variants of existing warp-styles, for example: warp =
twist { transparency = 0.6; glyph = script; xoffset = -8; yoffset = -8 },
twist { transparency = 0.3; glyph = script };
|