{namespace i=TYPO3\CMS\Install\ViewHelpers}

<form method="post">
	<f:render partial="Action/Common/HiddenFormFields" arguments="{_all}" />
	<h4>Convert image formats to jpg</h4>
	<p>
		This verifies that your ImageMagick installation is able to read the default
		formats <code>jpg</code>, <code>gif</code>, <code>png</code>, <code>tif</code>, <code>pdf</code> and <code>ai</code>.
		The tool <code>identify</code> is used to read the pixeldimensions of non-web formats and 'convert' is used to
		read the image and convert it to <code>jpg</code>.
	</p>
	<f:if condition="{convertImageFormatsToJpgTested}">
		<p>Test-Image by Rotkaeppchen68 (in de.wikipedia) [<a href="http://www.gnu.org/copyleft/fdl.html">GFDL</a> or <a href="http://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA-3.0</a>], <a href="https://commons.wikimedia.org/wiki/File%3AFuBK-Testbild.png">via Wikimedia Commons</a></p>

		<div class="typo3-message message-notice">
			<div class="header-container">
				<div class="message-header">
					<strong>Dark images</strong>
				</div>
			</div>
			<div class="message-body">
				In case the images appear remarkably darker than the reference images,
				try to set [TYPO3_CONF_VARS][GFX][colorspace] = sRGB.
			</div>
		</div>
		<p></p>

		<f:for each="{testResults}" as="test">
			<f:render partial="Action/Tool/TestSetup/DisplayTwinImage" arguments="{_all}"/>
		</f:for>

		<f:render partial="Action/Tool/TestSetup/AboutImageHandling" arguments="{_all}" />
		<f:render partial="Action/Tool/TestSetup/VerifyTestResults" arguments="{_all}" />
		<f:render partial="Action/Tool/TestSetup/CurrentConfiguration" arguments="{_all}" />
	</f:if>
	<f:render partial="Action/Common/SubmitButton" arguments="{name:'testConvertImageFormatsToJpg', text:'Test image formats'}"/>
</form>
