\BCGDrawJPG

--------------------------------------------------------------------

Base class to draw images


Copyright (C) Jean-Sebastien Goupil http://www.barcodephp.com

Summary

Methods
Properties
Constants
__construct()
setFilename()
draw()
setDPI()
setQuality()
No public properties found
No constants found
No protected methods found
$im
$filename
N/A
setInternalProperties()
internalSetDPI()
internalSetC()
$dpi
$quality
N/A

Properties

$im

$im : 

Type

$filename

$filename : 

Type

$dpi

$dpi : 

Type

$quality

$quality : 

Type

Methods

__construct()

__construct(resource  $im) 

Constructor.

Parameters

resource $im

setFilename()

setFilename(string  $filename) 

Sets the filename.

Parameters

string $filename

draw()

draw() 

Draws the JPG on the screen or in a file.

setDPI()

setDPI(integer  $dpi) 

Sets the DPI.

Parameters

integer $dpi

setQuality()

setQuality(integer  $quality) 

Sets the quality of the JPG.

Parameters

integer $quality

setInternalProperties()

setInternalProperties(  $bin) 

Parameters

$bin

internalSetDPI()

internalSetDPI(  $bin) 

Parameters

$bin

internalSetC()

internalSetC(  $bin) 

Parameters

$bin