Method |
Description |
|
convertPdfToImage ( string $content ) : string |
Converts the first page of pdf to an image using ghostscript. |
|
convertPsdToImage ( string $content ) : string |
Converts a PSD to a png using imagine. Only works with Imagick and not with GD. |
|
convertSvgToImage ( $content ) |
|
|
convertVideoToImage ( string $content ) : string |
Converts one frame of a video to an image using FFMPEG. |
|
createTemporaryFile ( string $content ) : string |
Returns the path to a temporary file containing the given content. |
|