[FEATURE] Add SVG support
Added rendering support for SVG images. When a SVG image is scaled there is no processed file created but only a sys_file_processedfile record with the calculated new dimensions. When a mask or explicit cropping is set for an SVG image a processed file is created like for all other images. An extra fallback is added to ImageInfo to determine SVG dimensions when IM/GM fails. Resolves: #50136 Releases: master Change-Id: I9d4e298f0329059e83783a94209c80558ed83e27 Reviewed-on: http://review.typo3.org/38422 Reviewed-by:Markus Klein <klein.t3@reelworx.at> Reviewed-by:
Benjamin Kott <info@bk2k.info> Tested-by:
Benjamin Kott <info@bk2k.info> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl>
Showing
- typo3/sysext/backend/Classes/Clipboard/Clipboard.php 4 additions, 1 deletiontypo3/sysext/backend/Classes/Clipboard/Clipboard.php
- typo3/sysext/backend/Classes/Controller/ContentElement/ElementInformationController.php 6 additions, 4 deletions...ontroller/ContentElement/ElementInformationController.php
- typo3/sysext/backend/Classes/Form/Element/InlineElement.php 7 additions, 3 deletionstypo3/sysext/backend/Classes/Form/Element/InlineElement.php
- typo3/sysext/backend/Classes/Utility/BackendUtility.php 10 additions, 6 deletionstypo3/sysext/backend/Classes/Utility/BackendUtility.php
- typo3/sysext/backend/Classes/Utility/IconUtility.php 4 additions, 0 deletionstypo3/sysext/backend/Classes/Utility/IconUtility.php
- typo3/sysext/core/Classes/Resource/Hook/FileInfoHook.php 4 additions, 1 deletiontypo3/sysext/core/Classes/Resource/Hook/FileInfoHook.php
- typo3/sysext/core/Classes/Resource/ProcessedFile.php 6 additions, 4 deletionstypo3/sysext/core/Classes/Resource/ProcessedFile.php
- typo3/sysext/core/Classes/Resource/Processing/LocalCropScaleMaskHelper.php 66 additions, 11 deletions.../Classes/Resource/Processing/LocalCropScaleMaskHelper.php
- typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php 10 additions, 1 deletion.../core/Classes/Resource/Processing/LocalImageProcessor.php
- typo3/sysext/core/Classes/Resource/Processing/LocalPreviewHelper.php 27 additions, 3 deletions...t/core/Classes/Resource/Processing/LocalPreviewHelper.php
- typo3/sysext/core/Classes/Type/File/ImageInfo.php 30 additions, 0 deletionstypo3/sysext/core/Classes/Type/File/ImageInfo.php
- typo3/sysext/core/Configuration/DefaultConfiguration.php 1 addition, 1 deletiontypo3/sysext/core/Configuration/DefaultConfiguration.php
- typo3/sysext/core/Documentation/Changelog/master/Feature-50136-AddSVGSupport.rst 18 additions, 0 deletions...entation/Changelog/master/Feature-50136-AddSVGSupport.rst
- typo3/sysext/filelist/Classes/FileList.php 4 additions, 1 deletiontypo3/sysext/filelist/Classes/FileList.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 4 additions, 3 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Classes/Controller/ShowImageController.php 4 additions, 2 deletions...ysext/frontend/Classes/Controller/ShowImageController.php
- typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php 7 additions, 3 deletionstypo3/sysext/recordlist/Classes/Browser/ElementBrowser.php
Please register or sign in to comment