---
title: "Convert .ctb to .goo or .pwmx without the original model"
description: "Rewrite a sliced .ctb as .goo, .pwmx or another printer format with no model and no re-slice, what survives the conversion, and when you must slice again."
url: "https://encrust.app/guides/convert-sliced-file-ctb-goo/"
lang: "en"
updated: "2026-11-17"
---

Printing · Guide 19 of 21

# Convert a sliced file to another format

[By Vladimir Varvorkin](https://encrust.app/about/) Updated November 8, 2026 8 min read

You'll end with the same layers in another printer format, such as .ctb to .goo, with no model and no new slice, in a few minutes. Encrust copies the masks unchanged, so the printer's panel must match the file's. On any other panel, the file has to be sliced again.

## On this page

1. [Before you start](https://encrust.app/guides/convert-sliced-file-ctb-goo/#before-you-start)
2. [Read what the file was sliced for](https://encrust.app/guides/convert-sliced-file-ctb-goo/#read-what-the-file-was-sliced-for)
3. [Compare it with the printer](https://encrust.app/guides/convert-sliced-file-ctb-goo/#compare-it-with-the-printer)
4. [Convert the file](https://encrust.app/guides/convert-sliced-file-ctb-goo/#convert-the-file)
5. [Read the new file back](https://encrust.app/guides/convert-sliced-file-ctb-goo/#read-the-new-file-back)
6. [What the new file keeps](https://encrust.app/guides/convert-sliced-file-ctb-goo/#what-the-new-file-keeps)
7. [Two printers, one panel](https://encrust.app/guides/convert-sliced-file-ctb-goo/#two-printers-one-panel)
8. [When to slice again](https://encrust.app/guides/convert-sliced-file-ctb-goo/#when-to-slice-again)
9. [If something goes wrong](https://encrust.app/guides/convert-sliced-file-ctb-goo/#if-something-goes-wrong)

A .ctb becomes a .goo with no model and no new slice, as long as the printer’s LCD panel is the one the file was sliced for. Encrust copies each layer’s picture, its mask, across unchanged and never rescales one, so a panel one pixel wider is refused.

That rule is less tight than it sounds. In the printer profiles Encrust ships, 165 of 199 share their panel with at least one other printer, and 136 share it with a printer that reads a different format (counted from the profiles: the same pixels, and within 1 % in millimetres).

Sharing a panel doesn’t make a file safe to move, though. A test part sliced for one printer and converted for another with the same panel came out with its layers mirrored, and [Encrust gave no warning](https://encrust.app/guides/convert-sliced-file-ctb-goo/#two-printers-one-panel). The same printer in a new format has no such problem. [What the new file keeps](https://encrust.app/guides/convert-sliced-file-ctb-goo/#what-the-new-file-keeps) lists what carries over, and [when to slice again](https://encrust.app/guides/convert-sliced-file-ctb-goo/#when-to-slice-again) covers the rest.

## Before you start

There is no convert button in the window. If you’d rather stay in the window, [open the file and slice it again](https://encrust.app/guides/convert-sliced-file-ctb-goo/#when-to-slice-again), which costs some detail. To convert, you need the `encrust` command, which [the command line guide](https://encrust.app/guides/slice-resin-files-command-line-batch/) sets up, and a resin of yours in Encrust. [Open a sliced file](https://encrust.app/guides/open-sliced-file-goo-ctb-pwmx/) explains how to read a file’s report.

Encrust reads a file from any slicer in [every format the command lists](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/cli.md#output-exit-codes-and-ctrl-c), [the encrypted .ctb included](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/formats/ctb-encrypted.md).

## Read what the file was sliced for

1. Run `encrust info plate.ctb`.
2. Note the `panel` row: pixels and, where the file records it, millimetres. Note `layers` and `exposure` too.

## Compare it with the printer

1. Run `encrust profiles list` to find the printer’s id.
2. Run `encrust profiles show elegoo-saturn-4-ultra`, with your printer’s id.
3. Compare `width_px` and `height_px` under `[display]` with the file’s panel. They must match exactly.
4. Compare `width_mm` and `height_mm`. They must be [within 1 %](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/crates/core-pipeline/src/convert.rs) of what the file records. A file that records no size passes this check.
5. Note the `mirror` line if the file was sliced for a different printer. [Two printers, one panel](https://encrust.app/guides/convert-sliced-file-ctb-goo/#two-printers-one-panel) says what it decides.

## Convert the file

Run:

```
encrust convert plate.ctb --printer elegoo-saturn-4-ultra --resin my-grey -o plate.goo
```

The extension of `-o` picks the format, and it must name one: unlike `slice`, `convert` writes no folder of PNG layers. A .ctb is written at [the revision that printer’s profile names](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/crates/encrust-cli/src/commands/convert.rs) unless `--ctb-version` says otherwise. The command ends with a line such as “Converted 200 layers into plate.goo, 4.0 ml of resin”.

Name a resin even though the command runs without one. [The lifts and waits come from the resin](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/cli.md#estimate-info-and-convert), and with none named the file gets Encrust’s stock numbers.

Convert doesn’t check that the printer reads the format you asked for. A .goo written for an Anycubic Photon Mono M5 finished with no warning in our run. The printer’s page under [Printers](https://encrust.app/printers/) names its format.

Warning

The exposure in the new file is the old file’s, set for the printer and resin it was sliced for. Treat it as a starting point on another printer: your resin maker’s and printer’s instructions come first.

## Read the new file back

Run `encrust info plate.goo`. The `panel`, `layers` and `exposure` rows match what you noted. Where the new format carries as many greys as the old one, the `lit pixels` total matches too: 175,385,600 on both sides for our 200-layer test box, Sonic Mighty 12K .ctb to Saturn 4 Ultra .goo.

## What the new file keeps

Encrust [carries the layers and exposures and replaces the motion](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/cli.md#estimate-info-and-convert):

| In the old file                           | In the new file                                                                           |
| ----------------------------------------- | ----------------------------------------------------------------------------------------- |
| Masks                                     | Copied pixel for pixel, turned only where the new format lays the plate out differently   |
| Anti-aliased edges                        | Kept, as far as the new format carries grey                                               |
| Layer height                              | Kept. A stack of varying heights is refused                                               |
| Exposure, bottom exposure, bottom layers  | Kept                                                                                      |
| A transition ramp above the bottom layers | Kept, stated again as a transition                                                        |
| Any other exposure change by height       | Kept as exposure by height. Encrust refuses this for a printer that reads only the header |
| Lift, retract, waits                      | Replaced by the resin you name                                                            |
| Preview pictures                          | Blank                                                                                     |

Grey depends on the target format, and [each format’s table](https://encrust.app/guides/open-sliced-file-goo-ctb-pwmx/#read-what-the-header-states) gives its levels. A format with fewer levels throws away the finest steps of grey: [.ctb keeps seven bits](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/crates/core-format/src/rle7.rs), [.pwmx and its relatives four](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/crates/format-anycubic/src/rle.rs), and [.goo 5.1 eight levels](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/formats/goo.md#revision-51). A one-bit format lights a pixel from grey 128 up. Lost levels don’t come back: a .goo converted from a .ctb has at most the .ctb’s 128.

In our test the layer of a .goo converted from a .ctb matched the .ctb pixel for pixel. Against a .goo sliced directly from the model, 2,493 of its 59 million pixels differed in grey, and none crossed half grey.

Edge greys also stay as the old file wrote them. The [Photon Mono M5 profile](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/assets/profiles/printers/anycubic-photon-mono-m5.toml) sets a lowest grey of 63, which a slice applies and a conversion doesn’t: the converted layer had 16 grey levels, the sliced one 11.

## Two printers, one panel

[Encrust takes the file as sliced for the printer you name](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/cli.md#estimate-info-and-convert). Changing format on the same printer is exact. A file sliced for a different printer can follow [other layout rules](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/crates/core-pipeline/src/panel.rs) than the printer you name, and Encrust can’t tell. By the profiles’ mirror settings and the named exceptions, 66 of the 199 share a panel with a printer laid out differently.

These panels are shared across formats:

| Panel                                | Printers                                                                                                                                                                            |
| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 11520 × 5120 px, 218.88 × 122.88 mm  | Elegoo Saturn 3, Saturn 3 Ultra, Saturn 4, Saturn 4 Ultra (.goo); Anycubic Photon Mono M5 (.pm5), M5s (.pm5s); Phrozen Sonic Mighty 12K (encrypted .ctb, 123.12 mm, within the 1 %) |
| 8520 × 4320 px, 153.36 × 77.76 mm    | Elegoo Mars 4, Mars 4 Ultra, Mars 5 Ultra (.goo); HIFUN HF-L1-9K (encrypted .ctb); Creality HALOT-X1 Neo (.cxdlpv4)                                                                 |
| 5448 × 3064 px, 277.848 × 156.264 mm | Elegoo Jupiter SE (.goo); Elegoo Jupiter, Peopoly Phenom Prime (encrypted .ctb)                                                                                                     |

We sliced one asymmetric 2 mm part for each printer, converted it, and compared layer 10 with a file sliced directly for the target. These are comparisons of masks on files Encrust wrote, not prints.

| Sliced for                        | Converted for         | Layer against a direct slice |
| --------------------------------- | --------------------- | ---------------------------- |
| Saturn 4 Ultra (.ctb)             | Saturn 4 Ultra (.goo) | Same, grey aside             |
| Sonic Mighty 12K (encrypted .ctb) | Saturn 4 Ultra (.goo) | Rotated 180°                 |
| Saturn 4 Ultra (.ctb)             | Photon Mono M5 (.pm5) | Rotated 180°                 |
| Creality CT-005 Pro (.cxdlp)      | Elegoo Saturn (.ctb)  | Mirrored along X             |

Read the `mirror` line of both profiles:

- Same value on both, and neither printer among the four below: the layers land as they did.
- `normal` or `dlp-normal` on one and `lcd-mirror` on the other: the print is a mirror image. Text reads backwards and a left-hand part becomes a right-hand one. Slice again.
- One of the Elegoo Saturn 3 Ultra, Jupiter SE, Saturn 4 Ultra or Mars 5 Ultra against an `lcd-mirror` printer not on that list: the layers are rotated 180°. The shape is right, but it lands at the opposite end of the plate.

A .photons or .cxline file keeps a layout of its own, so these three cases don’t apply to it.

## When to slice again

Slice again when the panel differs, when the layers vary in height, when the two layouts would mirror the print, or when you want another layer height, since a conversion keeps the old one. With the model at hand, slice it for the new printer as usual.

Without the model, choose **File** \> **Add model…** in the window and pick the sliced file. Encrust [rebuilds a model from its layers](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/features.md#opening-files). Choose the new printer in **Machine and resin** and click **Slice to .goo**, or the button naming your printer’s format. This costs detail: the old supports and raft become part of the model, edges round off by about a layer height, and the layer steps stay. [Open a sliced file](https://encrust.app/guides/open-sliced-file-goo-ctb-pwmx/#what-the-rebuilt-model-costs) has the details.

## If something goes wrong

### “… a mask is not resampled”

The file’s pixel count isn’t the printer’s. Check the id you gave, or [slice again](https://encrust.app/guides/convert-sliced-file-ctb-goo/#when-to-slice-again).

### “… the print would come out at the wrong scale”

The pixels match and the panel size doesn’t. This also stops files from some Anycubic printers. The [.pwmx family states one pixel size](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/crates/format-anycubic/src/reader.rs), so where a panel’s pixels aren’t square, the size Encrust reads from the file is wrong. A .pm5 for the Photon Mono M5, with pixels of 19 × 24 µm by its profile, is refused even for that same printer. Open it in the window and [slice again](https://encrust.app/guides/convert-sliced-file-ctb-goo/#when-to-slice-again).

### “… does not read the per-layer tables, so exposure cannot vary by height”

The file changes exposure partway up, and the printer reads only the file’s header. A plain ramp above the bottom layers is fine; another pattern isn’t. Convert for a printer with per-layer settings, or slice again with one exposure.

## Sources

- [Encrust: estimate, info and convert](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/cli.md#estimate-info-and-convert)  · What a conversion copies, what it takes from the resin, and what it refuses
- [Encrust: the conversion](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/crates/core-pipeline/src/convert.rs)  · The panel checks and the header the new file carries
- [Encrust: how a file lays the plate out](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/crates/core-pipeline/src/panel.rs)  · The mirroring rule and the four machines that are exceptions to it
- [Encrust: the encrypted .ctb](https://github.com/vvvlladimir/Encrust/blob/v0.9.0/docs/formats/ctb-encrypted.md)  · The container read as input, whichever program wrote it

[  Previous Open a sliced file and check its layers](https://encrust.app/guides/open-sliced-file-goo-ctb-pwmx/) [ Next A command-line resin slicer](https://encrust.app/guides/slice-resin-files-command-line-batch/)

---

[ Encrust](https://encrust.app/)

Free and open source under AGPL-3.0, written in Rust. Your files stay on your computer.

## Product

[Download](https://encrust.app/download/) [Printers](https://encrust.app/printers/) [Web app](https://encrust.app/app/)

## Learn

[Guides](https://encrust.app/guides/) [Blog](https://encrust.app/blog/) [FAQ](https://encrust.app/faq/) [Changelog](https://github.com/vvvlladimir/Encrust/blob/main/CHANGELOG.md)

## Project

[About](https://encrust.app/about/) [Source code](https://github.com/vvvlladimir/Encrust) [Discussions](https://github.com/vvvlladimir/Encrust/discussions) [Report a bug](https://github.com/vvvlladimir/Encrust/issues)

Encrust prepares files for machines that cure resin with UV light. It can’t know whether your settings suit your resin, printer or model, so check its output before a long print. Provided without warranty, as the licence says.

[Privacy](https://encrust.app/privacy/) [Impressum](https://encrust.app/impressum/) [Datenschutzerklärung](https://encrust.app/datenschutz/)
