SvgManipulation

class \TYPO3\CMS\Core\Imaging\SvgManipulation

Performs SVG cropping by applying a wrapper SVG as view

A simple SVG with an input like this:

<svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 168.4 940.7 724" width="941" height="724"> <path id="path" d="M490.1 655.5c-9.4 1.2-16.9

is wrapped with crop dimensions (i.e. "50 50 640 480") to something like this:

Internal

not part of TYPO3 Core API.