# Slices, PDF and film

An episode is written once and exported for each place it is read. Every file is listed in the
`exports.json` beside it, with its language, size and checksum. The files are produced in CI, never
on the hosting platform.

## Slices for the platforms

The platforms take an episode as a series of images of a fixed width. `recit export --to images`
scales the strip to the width of a preset, captures it one slice at a time, lettering included, and
encodes each slice in Chromium.

```bash
npx recit export examples/webtoon-episode/episode-1.md --to images --preset webtoon-canvas --all-locales
```

The episode of the home page, with a line at each cut of `webtoon-canvas`: one slice every 1.6 times
the width of the strip.

<StoryEmbed slug="webtoon/episode" format="webtoon" slices="webtoon-canvas" />

| Preset           | Width  | Slice   | Format | Per slice | Checked    |
| ---------------- | ------ | ------- | ------ | --------- | ---------- |
| `webtoon-canvas` | 800 px | 1280 px | JPEG   | 2 MB      | 2026-11-03 |
| `tapas`          | 940 px | 2000 px | JPEG   | 10 MB     | 2026-11-03 |

Each preset carries the date its values were checked against the platform's guide; a slice over the
limit is a warning. `--avoid-lettering` moves a cut above the bubble it would cross.

## A PDF per language

`recit export --to pdf` prints the reader on pages as wide as the strip, cut between two panels and
never inside one.

```bash
npx recit export examples/webtoon-episode/episode-1.md --to pdf
```

## A film

`recit render` turns the episode into a vertical film, one shot per panel
([episode → film](/webtoon/episode-to-film)).

```bash
npx recit render examples/webtoon-episode/episode-1.md
```

The options of each export are on [docs.recit.dev](https://docs.recit.dev/formats/webtoon/overview).
