If an image element is left unclosed the after method is not called and the graphics state is not restored. The result is that content following the image tag is rendered flipped along the horizontal axis.
<svg width="500" height="500" viewBox="0 0 500 110" xmlns="http://www.w3.org/2000/svg">
<image href="https://placekittens.com/150/150" x="0" y="0" height="150" width="150">
<text x="250" y="250">SvgLib</text>
</svg>

If an image element is left unclosed the
aftermethod is not called and the graphics state is not restored. The result is that content following the image tag is rendered flipped along the horizontal axis.