\Org_Heigl\Ghostscript\DeviceJpeg

This abstract class defines interfaces for Ghostscript devices

Summary

Methods
Properties
Constants
getDevice()
getParameterString()
setQuality()
getQuality()
getFileEnding()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getDevice()

getDevice() : string

Get the name of the device as Ghostscript expects it

Returns

string

getParameterString()

getParameterString() : string

Get the complete parameter string for this device

Returns

string

setQuality()

setQuality(integer  $quality) : \Org_Heigl\Ghostscript\Device\Jpeg

Set the Quality of the JPEG

This can be any integer from 0 to 100. It defaults to 75

Parameters

integer $quality

Returns

\Org_Heigl\Ghostscript\Device\Jpeg

getQuality()

getQuality() : integer

Get the Quality of the JPEG

Returns

integer

getFileEnding()

getFileEnding() : string

Get the file ending

Returns

string