# How to reduce size of exported STL files?

**URL:** https://discourse.slicer.org/t/how-to-reduce-size-of-exported-stl-files/32481
**Category:** Support
**Created:** [October 30, 2023, 11:49am UTC](https://discourse.slicer.org/t/how-to-reduce-size-of-exported-stl-files/32481 "2023-10-30T11:49:37Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![lhefeng662](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lhefeng662/32/68064_2.png) [@lhefeng662](https://discourse.slicer.org/u/lhefeng662)
#### Post date: [October 30, 2023, 11:49am UTC](https://discourse.slicer.org/t/how-to-reduce-size-of-exported-stl-files/32481/1 "2023-10-30T11:49:37Z")

</div>

How does slicer perform image compression similar to the Simplification: Quadric Edge Collapse Decision function of Meshlab to reduce the size of exported stl files?

---

<div class="post-metadata">

### Author: ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)
#### Post date: [October 30, 2023, 3:52pm UTC](https://discourse.slicer.org/t/how-to-reduce-size-of-exported-stl-files/32481/2 "2023-10-30T15:52:31Z")

</div>

Yes, we have several methods in Slicer that can provide equivalent or better quality mesh simplification and size reduction.

If you have only a few meshes to process then I would recommend to use `Surface toolbox` module’s `Uniform remesh` option (it creates very nice mesh with uniform triangle sizes) or `Decimate` option (it performs quadric decimation - probaby exactly the same as Meshlab - if you enable boundary deletion; or the slightly different DecimatePro algorithm if you disable boundary deletion).

If you need to process many segments (anatomical atlases, TotalSegmentator segmentation results, etc.) then I would recommend to use `SlicerOpenAnatomy` extension, which can apply quadric decimation to many segments or models at once.
