# Sample SVG images for testing renderers, free and CC0

2 SVG test files from 683 B to 3.4 KB. Direct URLs, a SHA-256 for each and CC0, so curl and CI can fetch them with no signup and no keys.

The page: <https://loremfile.dev/svg>.

SVG is vector graphics written as XML, which makes it both an image and a document that
could, in principle, carry script. These files are hand-written with no script, no event
handlers and no external references, and they are served with a sandbox
Content-Security-Policy, so they render their shapes but can execute nothing.

`svg/simple-shapes.svg` draws a rectangle, a circle and a polyline path, with explicit width
and height attributes. Those attributes matter: an SVG without them has no intrinsic size,
and image tools disagree about how large to render it.

`svg/with-embedded-png.svg` contains a PNG as a data URI and no other raster content, so
nothing is fetched from the network when it renders. It tests whether a sanitiser keeps safe
embedded images, and whether a rasteriser handles data URIs.

Use them for image upload forms, SVG sanitisers, rasterisers and icon pipelines. Related
formats: [PNG](https://loremfile.dev/png) and [WebP](https://loremfile.dev/webp).

## Files

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`svg/simple-shapes.svg`](https://loremfile.dev/svg/simple-shapes.svg) | 683 B | `image/svg+xml` | 200x200, utf-8, LF, 12 lines |
| [`svg/with-embedded-png.svg`](https://loremfile.dev/svg/with-embedded-png.svg) | 3.4 KB (3,370 bytes) | `image/svg+xml` | 200x200, utf-8, LF, 15 lines |

The same list as JSON: <https://loremfile.dev/svg/index.json>.
