Свойство | Тип | Описание | |
---|---|---|---|
$convertedImage | string | Converted image path | |
$imageData | string | Image data | |
$imageDataLength | integer | Image data length | |
$img | mixed | Image object | |
$index | array | PDF next index | |
$objects | array | Image objects | |
$origH | integer | Image original height | |
$origW | integer | Image original width | |
$scaledImage | string | Scaled image path | |
$stream | string | Stream string | |
$x | array | Image X Coordinate | |
$xobject | string | XObject string | |
$y | array | Image Y Coordinate |
Метод | Описание | |
---|---|---|
__construct ( string $img, integer $x, integer $y, integer $i, mixed $scl = null, boolean $preserveRes = false ) : |
Constructor | |
getObjects ( ) : array | Method to get the image objects. | |
getOrigH ( ) : string | Method to get the original image height. | |
getOrigW ( ) : string | Method to get the original image width. | |
getScaledDimensions ( mixed $scl, integer $origW, integer $origH ) : array | Method to get scaled dimensions of the image, while preserving the resolution. | |
getStream ( ) : string | Method to get the stream string. | |
getXObject ( ) : string | Method to get the xobject string. |
Метод | Описание | |
---|---|---|
convertImage ( ) : void | Method to convert the image. | |
parseJpeg ( ) : void | Method to parse the JPEG image. | |
parsePng ( ) : void | Method to parse the PNG image. | |
readInt ( string $data ) : integer | Method to read an unsigned integer. | |
scaleImage ( mixed $scl ) : void | Method to scale or resize the image. |
protected convertImage ( ) : void | ||
Результат | void |
public getObjects ( ) : array | ||
Результат | array |
public getXObject ( ) : string | ||
Результат | string |
protected scaleImage ( mixed $scl ) : void | ||
$scl | mixed | |
Результат | void |
protected string $convertedImage | ||
Результат | string |
protected int $imageDataLength | ||
Результат | integer |