ILIAS
Release_4_4_x_branch Revision 61816
|
Preview renderer class that is able to create previews from images by using ImageMagick. More...
Public Member Functions | |
getSupportedFileFormats () | |
Gets an array containing the file formats that are supported by the renderer. | |
Public Member Functions inherited from ilFilePreviewRenderer | |
getSupportedRepositoryTypes () | |
Gets an array containing the repository types (e.g. | |
supports ($preview) | |
Determines whether the specified preview object is supported by the renderer. | |
prepareFileForExec ($filepath) | |
Checks whether the specified file path can be used with exec() commands. | |
Public Member Functions inherited from ilPreviewRenderer | |
getName () | |
Gets the name of the renderer. | |
isPlugin () | |
Determines whether the renderer is a plugin or a built in one. | |
render ($preview, $obj, $async) | |
Creates the preview of the specified preview object. |
Static Public Member Functions | |
static | evaluateSupportedFileFormats () |
Evaluates the supported file formats. |
Data Fields | |
const | SUPPORTED_FORMATS = "jpg,jpeg,jp2,png,gif,bmp,tif,tiff,cur,ico,pict,tga,psd" |
Protected Member Functions | |
renderImages ($obj) | |
Renders the specified object into images. |
Static Private Attributes | |
static | $supported_formats = null |
Preview renderer class that is able to create previews from images by using ImageMagick.
Definition at line 14 of file class.ilImageMagickRenderer.php.
|
static |
Evaluates the supported file formats.
Definition at line 41 of file class.ilImageMagickRenderer.php.
Referenced by getSupportedFileFormats().
ilImageMagickRenderer::getSupportedFileFormats | ( | ) |
Gets an array containing the file formats that are supported by the renderer.
Reimplemented from ilFilePreviewRenderer.
Definition at line 27 of file class.ilImageMagickRenderer.php.
References $supported_formats, and evaluateSupportedFileFormats().
|
protected |
Renders the specified object into images.
The images do not need to be of the preview image size.
ilObjFile | $obj | The object to create images from. |
Reimplemented from ilPreviewRenderer.
Definition at line 54 of file class.ilImageMagickRenderer.php.
References ilFilePreviewRenderer\prepareFileForExec().
|
staticprivate |
Definition at line 20 of file class.ilImageMagickRenderer.php.
Referenced by getSupportedFileFormats().
const ilImageMagickRenderer::SUPPORTED_FORMATS = "jpg,jpeg,jp2,png,gif,bmp,tif,tiff,cur,ico,pict,tga,psd" |
Definition at line 17 of file class.ilImageMagickRenderer.php.