You can buy this project and download/modify it how often you want.
<image> and viewBox & preserveAspectRatio viewBox & preserveAspectRatio on raster <image> clip set to rect(5,4,3,2) meet slice unspecified yMin yMid yMax yMin yMid yMax yMin yMid yMax xMin xMid xMax none