Skip to content
Snippets Groups Projects
Commit de2a8f85 authored by Sebastian Michaelsen's avatar Sebastian Michaelsen Committed by Jigal van Hemert
Browse files

[BUGFIX] Install Tool: Show titles of failed image tests

"Test image formats" tries to convert different media types
to JPG. If one of these conversions fails, you will get an
error message but no hint about what media type failed to convert.

Change-Id: Ie35c7e3529064c99cb8b3ef7d6eb542142b58a56
Resolves: #53632
Releases: 6.2
Reviewed-on: https://review.typo3.org/25396
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Dan Untenzu
Reviewed-by: Jigal van Hemert
Tested-by: Jigal van Hemert
parent be3712e8
Branches
Tags
No related merge requests found
......@@ -204,8 +204,8 @@ class TestSetup extends Action\AbstractAction implements Action\ActionInterface
$inputFile = $this->imageBasePath . 'TestInput/Test.' . $formatToTest;
$imageProcessor->imageMagickConvert_forceFileNameBody = uniqid('read') . '-' . $formatToTest;
$imResult = $imageProcessor->imageMagickConvert($inputFile, 'jpg', '170', '', '', '', array(), TRUE);
$result['title'] = 'Read ' . $formatToTest;
if ($imResult !== NULL) {
$result['title'] = 'Read ' . $formatToTest;
$result['outputFile'] = $imResult[3];
$result['referenceFile'] = $this->imageBasePath . 'TestReference/Read-' . $formatToTest . '.jpg';
$result['command'] = $imageProcessor->IM_commands;
......
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