Commit 0a813c86 authored by Michael Stucki's avatar Michael Stucki
Browse files

* Fixed bug #0000032: ImageMagick will convert only the first page of a multi-page PDF file


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@384 709f56b5-9817-0410-a4d7-c38de5d9e867
parent f8a67c22
2004-06-18 Michael Stucki <mundaun@gmx.ch>
* Fixed bug #0000032: ImageMagick will convert only the first page of a multi-page PDF file
2004-06-11 Robert Lemke <rl@robertlemke.de>
* Created new hook in class.t3lib_tcemain.php in process_datamap. Search for $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']
......
......@@ -2081,7 +2081,8 @@ class t3lib_stdGraphic {
*/
function imageMagickIdentify($imagefile) {
if (!$this->NO_IMAGE_MAGICK) {
$cmd = $this->imageMagickPath.'identify '.$this->wrapFileName($imagefile);
$frame = $this->noFramePrepended?'':'[0]';
$cmd = $this->imageMagickPath.'identify '.$this->wrapFileName($imagefile).$frame;
exec($cmd, $returnVal);
$splitstring=$returnVal[0];
$this->IM_commands[] = Array ('identify',$cmd,$returnVal[0]);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment