Bmp
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- _getBMPimage() : mixed
- _fourbytes2int_le() : int
- Read a 4-byte integer from string
- _twobytes2int_le() : int
- Read a 2-byte integer from string
- rle4_decode() : string
- Decoder for RLE4 compression in windows bitmaps
- rle8_decode() : string
- Decoder for RLE8 compression in windows bitmaps
Properties
$mpdf
private
Mpdf
$mpdf
Methods
__construct()
public
__construct(Mpdf $mpdf) : mixed
Parameters
- $mpdf : Mpdf
_getBMPimage()
public
_getBMPimage(mixed $data, mixed $file) : mixed
Parameters
- $data : mixed
- $file : mixed
_fourbytes2int_le()
Read a 4-byte integer from string
private
_fourbytes2int_le(mixed $s) : int
Parameters
- $s : mixed
Return values
int_twobytes2int_le()
Read a 2-byte integer from string
private
_twobytes2int_le(mixed $s) : int
Parameters
- $s : mixed
Return values
intrle4_decode()
Decoder for RLE4 compression in windows bitmaps
private
rle4_decode(mixed $str, mixed $width) : string
Parameters
- $str : mixed
- $width : mixed
Tags
Return values
stringrle8_decode()
Decoder for RLE8 compression in windows bitmaps
private
rle8_decode(mixed $str, mixed $width) : string
Parameters
- $str : mixed
- $width : mixed