[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/phpbb/captcha/ -> non_gd.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 386 lines (86 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

non_gd:: (6 methods):

Class: non_gd  - X-Ref

Main non-gd captcha class

__construct()   X-Ref
Define filtered pngs on init

execute($code, $seed)   X-Ref
Create the image containing $code with a seed of $seed

randomise($scanline, $width)   X-Ref
This is designed to randomise the pixels of the image data within
certain limits so as to keep it readable. It also varies the image
width a little

png_chunk($length, $type, $data)   X-Ref
This creates a chunk of the given type, with the given data
of the given length adding the relevant crc

create_png($raw_image, $width, $height)   X-Ref
Creates greyscale 8bit png - The PNG spec can be found at
http://www.libpng.org/pub/png/spec/PNG-Contents.html we use
png because it's a fully recognised open standard and supported
by practically all modern browsers and OSs

define_filtered_pngs()   X-Ref
png image data
Each 'data' element is base64_encoded uncompressed IDAT

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1