Changing Captcha Font Color
-
Can anyone assist me with changing the font color in the captcha box please. I have tried this and it doesn’t seem to work:
<?php
require_once ‘securimage.php’;
$img = new securimage();
$img->image_width = 260;
$img->image_height = 80;
$img->ttf_file = ‘AHGBold.ttf’;
$img->perturbation = 0.85;
$img->image_bg_color = new Securimage_Color(0×0, 0×0, 0×0);
$img->text_color = new Securimage_Color(0xff, 0xff, 0xff);
$img->text_transparency_percentage = 10;
$img->use_transparent_text = true;
$img->text_angle_minimum = -10;
$img->text_angle_maximum = 10;
$img->num_lines = 0;
$img->line_color = new Securimage_Color(0xff, 0xaff, 0xff);$img->show(‘backgrounds/ex2bg.png’);
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Changing Captcha Font Color’ is closed to new replies.