phpBB API Documentation
Class

phpbb\captcha\gd

class gd

Properties

$width
$height

Methods

execute($code, $seed)

Create the image containing $code with a seed of $seed

wave($img)

Sinus

noise_line($img, $min_x, $min_y, $max_x, $max_y, $bg, $font, $non_font)

Noise line

captcha_noise_bg_bitmaps()

captcha_bitmaps()

Return bitmaps

Details

at line 24
public execute($code, $seed)

Create the image containing $code with a seed of $seed

Parameters

$code
$seed

at line 151
public wave($img)

Sinus

Parameters

$img

at line 181
public noise_line($img, $min_x, $min_y, $max_x, $max_y, $bg, $font, $non_font)

Noise line

Parameters

$img
$min_x
$min_y
$max_x
$max_y
$bg
$font
$non_font

at line 227
public captcha_noise_bg_bitmaps()

at line 289
public captcha_bitmaps()

Return bitmaps