# Cropping image during loading

**URL:** <https://discourse.slicer.org/t/cropping-image-during-loading/9719>\
**Category:** Support\
**Created:** [January 6, 2020, 6:56pm UTC](https://discourse.slicer.org/t/cropping-image-during-loading/9719 "2020-01-06T18:56:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![carterrt](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@carterrt](https://discourse.slicer.org/u/carterrt)\
**Post date:** [January 6, 2020, 6:56pm UTC](https://discourse.slicer.org/t/cropping-image-during-loading/9719/1 "2020-01-06T18:56:56Z")

</div>

It is possible to crop an image stack during the loading process to thereby reducing the data foot print that the the computer has to deal with? I have a very large scan but only need a small portion of it and loading the whole thing really gums up my computer.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [January 6, 2020, 7:11pm UTC](https://discourse.slicer.org/t/cropping-image-during-loading/9719/2 "2020-01-06T19:11:22Z")

</div>

Hi -

We talked about adding this to the [ImageStacks](https://github.com/pieper/SlicerImageStacks) module in SlicerMorph but it wasn’t clear how the user should select the ROI. Would it be enough just to type in x,y values?

For cropping in Z of course you can just select the range of image slices you need.
