|
ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Preview renderer class that is able to create previews from images by using ImageMagick. More...
Inheritance diagram for ilImageMagickRenderer:
Collaboration diagram for ilImageMagickRenderer:Public Member Functions | |
| getSupportedFileFormats () | |
| Gets an array containing the file formats that are supported by the renderer. More... | |
Public Member Functions inherited from ilFilePreviewRenderer | |
| getSupportedRepositoryTypes () | |
| Gets an array containing the repository types (e.g. More... | |
| supports ($preview) | |
| Determines whether the specified preview object is supported by the renderer. More... | |
| prepareFileForExec ($filepath) | |
| Checks whether the specified file path can be used with exec() commands. More... | |
| getSupportedFileFormats () | |
| Gets an array containing the file formats that are supported by the renderer. More... | |
Public Member Functions inherited from ilPreviewRenderer | |
| getName () | |
| Gets the name of the renderer. More... | |
| isPlugin () | |
| Determines whether the renderer is a plugin or a built in one. More... | |
| getSupportedRepositoryTypes () | |
| Gets an array containing the repository types (e.g. More... | |
| supports ($preview) | |
| Determines whether the specified preview object is supported by the renderer. More... | |
| render ($preview, $obj, $async) | |
| Creates the preview of the specified preview object. More... | |
Static Public Member Functions | |
| static | evaluateSupportedFileFormats () |
| Evaluates the supported file formats. More... | |
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. More... | |
Protected Member Functions inherited from ilPreviewRenderer | |
| renderImages ($obj) | |
| Renders the specified object into images. More... | |
| getImageSize () | |
| Gets the size of the preview images in pixels. More... | |
| getImageQuality () | |
| Gets the quality (compression) of the preview images (1-100). More... | |
| getMaximumNumberOfPreviews () | |
| Gets the maximum number of preview pictures per object. More... | |
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().
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
|
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.