Image conversion guides

Choose the visible state of a two-frame GIF

·

A GIF can store a later frame as a small update to earlier pixels. Inspect the entire displayed frame before you use it as a still illustration.

GIF to SVG

Export the two visible states of the marker

Select Load example. The file menu shows a 120 ms first frame and a 240 ms second frame. Convert frame 1 and download the SVG. It has a green block on the left inside a transparent 10 × 6 canvas.

Choose frame 2 and convert again. The right side gains a blue block and the left block stays green. The second frame only updates a small rectangle, so its SVG still contains the full 10 × 6 displayed frame.

GIF89a specification — Logical screen and graphic control

Compare the downloads at the same scale

Open two-step-marker-frame-01.svg and two-step-marker-frame-02.svg over the same background. Compare the right side near pixel x=7, y=3. The first image shows the background there and the second displays blue.

Open either file as text to find one PNG image element. The second contains the composited frame in a single raster image.

W3C SVG 2 — Embedded image

Choose one frame per file for a batch

Add two GIFs and choose a frame for each file. Convert them in one run. Download SVG ZIP to keep both images together. Each filename carries its selected frame number.

Common questions

What happens to a GIF’s loop and frame duration?

The chosen frame supplies the visible pixels. The SVG has one still image, and the loop and duration remain in the source GIF.

Does the frame picker use the dimensions of the changed rectangle?

The preview and export use the GIF logical screen. The converter applies the frame updates and disposal rules to that surface.

Sources

Put it into practice.

Related guides