[TYPO3-core] RFC #13283: Thumbnail generation broken for PDF files

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Mar 11 22:37:13 CET 2010


Hi,

I have had the latest Stucki-Patch running on some of our hosting
environments where we had experienced the "GS 100% CPU hung-ups" while
processing PDFs, and it solves the problem.

Haven't analysed what it means for "noFramePrepended" setting, but as
even Steffen Ritter was convinced by Stucki about it, I would say it is
good.

So +1 on testing.

Cheers,
Ernesto

Andy Grunwald [wmdb] schrieb am 11.03.2010 14:55:
> ###REMINDER###
> 
> Am 20.02.2010 09:58, schrieb Benjamin Mack:
>> Hey team,
>>
>> this is a SVN patch request.
>>
>> Type: bugfix
>>
>> Branch: 4.3, trunk
>>
>> BT reference: http://bugs.typo3.org/view.php?id=13283
>>
>> Problem:
>> Due the patch with report 0012341, the generation of thumbnails for PDF
>> files does not work anymore. The problem is the missing frame parameter
>> in the GraphicsMagick call.
>>
>> The following line was added in the function imageMagickExec (
>> t3lib/class.t3lib_stdgraphic.php):
>>
>> $frame = $frame ? '['.intval($frame).']' : '';
>>
>> This means the frame parameter will not be added, if the frame number is
>> 0 or empty. This is a problem for PDF files, causing GraphicsMagick to
>> hang and creating an image for each page of the PDF.
>>
>> Solution:
>> Make it right by adding the frame parameter by checking if it is
>> "numeric".
>>
>> All the best,
>> Benni.
> 


More information about the TYPO3-team-core mailing list