Retrologic Systems Retrologic Systems Retrologic Systems
RetroGuard for Java Obfuscation
  RetroGuard  |  CAPTCHA  |  Contracting  |  Resellers  |  Contact

Example Style Explained


Prev   Contents   Next

We'll now review the creation of a RetroCapture image from an image-style, step by step. The image style is a slightly modified version of gridfade, one of the standard styles in RetroCapture.


.image azuregridfade {
    length = 6;
    width = 140;
    height = 80;
    paint = grid { color = 555555; random = true };
    fade = true;
    warp = twist { transparency = 0.3; glyph = script };
    hue = azure;
    saturation = 25%;
}
  • A passphrase of length 6 characters is generated: 7K4M8W.
  • Style objects are reset: in particular, a twist angle is chosen at random for the twist warp-style.
  • An empty canvas of size 140x80 pixels is created and painted white. (The border is shown for clarity and is not part of the image.)
  • The grid paint-style is applied, with randomly chosen grid spacing.
  • An edge fade is applied to the image.
  • The passphrase is rendered using the script glyph-style and is warped onto the image using the twist warp-style.
  • The monochrome canvas is recolored using the HSV color-space to a 25%-saturated, azure hue.
  • This image is output in GIF89a format as a file named p42k68nt2j4g.gif and the following entry is made in the mapping file:
    7K4M8W    ./p42k68nt2j4g.gif    azuregridfade    c0e0ff

Prev   Contents   Next
 Copyright © 1998-2007 Retrologic Systems. retroguard | captcha | contracting | resellers | site map | contact
 All rights reserved. site terms | privacy policy