Supported Formats
Raster Formats (Bitmap-based)
These formats encode each layer as compressed bitmap data, suitable for standard MSLA resin printers.Chitu CTB
Encrypted format for Chitu-based printers
Elegoo GOO
Open format for Elegoo printers
NanoDLP
ZIP-based format with PNG layers
Vector Format
SVG
Vector output for visualization and debugging
Format Comparison
| Feature | CTB | GOO | NanoDLP | SVG |
|---|---|---|---|---|
| File Extension | .ctb | .goo | .nanodlp | .svg |
| Encryption | Yes (AES-256) | No | No | N/A |
| Compression | RLE | RLE | PNG/Deflate | N/A |
| Preview Images | Yes (2 sizes) | Yes (2 sizes) | Yes (1 image) | No |
| Per-Layer Settings | Yes | Yes | Yes | No |
| Format Type | Binary | Binary | ZIP Archive | XML Text |
| File Size | Small | Small | Medium | Variable |
| Remote Send | Yes | Yes | No | No |
Choosing the Right Format
For Printing
Select your format based on your printer:- Chitu-based printers (Anycubic, Creality, etc.): Use CTB
- Elegoo printers (Mars, Saturn series): Use GOO
- NanoDLP software: Use NanoDLP
- Custom/DIY printers: Use NanoDLP (most compatible)
For Development & Debugging
- Visualizing slice geometry: Use SVG to inspect the exact slice polygons
- Verifying layer data: Use NanoDLP to extract readable PNG files
Format Details
Run-Length Encoding (RLE)
Both CTB and GOO formats use run-length encoding to compress layer data efficiently. This compression is optimized for the horizontal runs of pixels typical in 3D printing, resulting in very compact file sizes. The encoding stores:- Pixel value (grayscale level)
- Run length (number of consecutive pixels with the same value)
Encryption in CTB
The CTB format uses AES-256-CBC encryption with a hardcoded key to protect the format specification. Mslicer implements full encryption support for compatibility with Chitu-based printers.ZIP Container Format
NanoDLP uses a ZIP archive containing:- JSON metadata files (profile, plate, options)
- PNG images for each layer
- 3D preview image
Performance
Mslicer is optimized for high-performance file generation:- CTB: Fast binary encoding with parallel layer processing
- GOO: Fast binary encoding with parallel layer processing
- NanoDLP: Optimized PNG compression for RLE data
- SVG: Lightweight vector output with minimal processing
File Extensions
When saving files, Mslicer automatically uses the correct extension:Related Tools
- UVtools - Post-processing and inspection tool for all raster formats
- msla-thumbs - KDE thumbnail support for sliced files