Initializing... drag & drop files here
Supports: PEF
SVG is not a picture format in the way PEF is. It is an XML language for describing shapes — W3C published SVG 1.1 (Second Edition) as a Recommendation on 16 August 2011 — so getting from a photograph to SVG means tracing: an algorithm finds regions of similar colour and draws vector outlines around them. Two things follow, and both matter before you upload anything. First, the trace can only be as good as the raster it is given, and a Pentax .pef is not a raster — it is sensor data that has to be demosaiced, white-balanced and tone-curved into an image before there are any colour boundaries to find, so rendering it to PNG yourself is what puts that development under your control. Second, even with a perfect render, a continuous-tone photograph traces into a posterised illustration rather than a faithful picture. This page explains the working route and the exact limits.
.png..svg, then open it in Illustrator, Inkscape, Figma or any vector editor to recolour or reshape individual regions. Files are uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours — no sign-up, no watermark.That single control is sent to the tracer as both its colour precision and its path precision, which is why one slider changes two very different things at once.
| Slider position | Colour precision | Path precision | Result |
|---|---|---|---|
| 1–3 | Very coarse palette | Loose curves | Few large flat regions; tiny file; heavy posterisation |
| 4–6 (6 is the default) | Balanced | Balanced | The recommended range for logos and flat art |
| 7–8 | Fine palette | Tight curves | More regions and nodes; noticeably larger file |
| 9–10 | Rejected | — | The tracer refuses colour precision above 8 and stops with an out-of-range error, so no file is produced |
Positions 9 and 10 are therefore not usable. If you want the most detail the tracer can give, 8 is the ceiling.
| Input | Trace quality | Why |
|---|---|---|
| PNG from a render you inspected | Best | Lossless; no compression artefacts to mistake for edges |
| Lossy JPG or WebP | Good | Ringing around hard edges becomes spurious micro-paths |
| BMP, GIF, TIFF, PPM | Good | Flat, artefact-free artwork traces cleanly |
| A camera raw developed on defaults | Unpredictable | The exposure, white balance and noise floor were chosen for you |
| A full-resolution noisy frame | Poor | The tracer follows sensor grain rather than the subject |
Renaming a file changes nothing here, in either direction: the bytes inside a .pef are still a sensor mosaic whatever extension you give them, and a PNG renamed to .pef is still PNG bytes. Only a genuine render turns one into the other.
If you want to see the Pentax photograph, SVG is the wrong destination and no setting will fix that. PEF to JPG gives a small, universally viewable image, PEF to PNG keeps full colour losslessly and is also the correct intermediate for tracing, and PEF to TIFF gives an editable raster master for print work — set its Compression Type to LZW there, because the default is lossy JPEG. Reserve SVG for content that was already flat-shaded — a logo photographed off a wall, a scanned line drawing, a high-contrast graphic — where the trace produces clean, infinitely scalable shapes instead of banded approximations.
Because a raw file has to be developed either way, and the only question is who chooses how. A .pef records one filtered brightness value per photosite, not RGB pixels; demosaicing, white balance and a tone curve all have to be applied before there are colour regions to cluster. Rendering it yourself with PEF to PNG means you get to look at the result, correct an exposure that would otherwise clip the shadows into a single flat black region, and pick a sensible pixel size — three decisions that affect the trace far more than any tracing setting does.
.png work as a shortcut?No, and it makes things worse. An extension is a label, not a conversion: renaming a raw to .png hands a PNG decoder a file full of TIFF-based sensor data, which it has no way to interpret. The reverse is equally pointless — a genuine PNG renamed to .pef is still PNG bytes wearing the wrong name. There is no rename that substitutes for an actual render.
Because the page exposes a single "Number precision" value and passes it to the tracer as both parameters. It is a deliberate simplification — two sliders would need explaining, and for the flat graphics that trace well the two settings tend to move together anyway. The side effect is the hard ceiling at 8: the tracer accepts a path precision of 9 or 10 but rejects a colour precision above 8, so the combined value cannot go that high.
It scans the raster, groups adjacent pixels into regions of similar colour, and emits a vector path around each region filled with a single flat colour. Nothing is embedded — the original pixels are discarded, and the SVG contains only shape definitions. That is why a two-colour logo traces beautifully and a landscape does not: the logo already is a small number of flat regions.
Because flat fill is the only tool a traced SVG has. A Pentax sensor records 12 or 14 bits per channel of continuous tone across skies, skin and shadow; the tracer collapses those gradients into a handful of discrete colour regions with visible boundaries between them. Lowering the precision makes the bands larger and the file smaller; raising it makes them finer but never actually smooth. If you want photographic tone, you want a raster format.
For a flat graphic, dramatically — a traced logo is often a few kilobytes against tens of megabytes of raw. For a photograph, often not: a detailed scene can need thousands of paths, each with coordinate data, and the resulting XML can exceed a good JPEG of the same picture while looking worse. Precision is the main lever; scaling the PNG down before tracing is the other.
Yes, and that is the main reason to trace at all. Because the output is a set of vector paths, you can open it in Illustrator, Inkscape, Figma or any vector editor and recolour, reshape, delete or rescale individual regions with no loss of sharpness at any size. That is impossible with a raster export, however high its resolution.
No. A PEF's value is its high-bit-depth sensor data and its EXIF and Pentax maker notes, and tracing discards both — the output is XML shape data with flat fill colours. Nothing about white balance, exposure or lens information survives. Keep the original .pef as your archive and treat the SVG as a derived graphic.
Every file is uploaded over an encrypted connection, processed on our servers, and deleted automatically after a few hours. There is no sign-up, no watermark, and files are never shared or made public. Because the working route is two steps, both the intermediate PNG and the traced SVG are covered by the same handling.