# Images are resized to 2048x2048 before tiling by default

**URL:** <https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236>\
**Category:** 🤝  Community Help\
**Created:** [March 19, 2022, 9:25pm UTC](https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236 "2022-03-19T21:25:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![alfredv](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/alfredv/32/134_2.png) [@alfredv](https://discuss.roboflow.com/u/alfredv)\
**Post date:** [March 19, 2022, 9:25pm UTC](https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236/1 "2022-03-19T21:25:20Z")

</div>

Hi,

Is there a way to keep the original image size after using tiling as a preprocessing step? I’m using 8192x5460 images and following preprossing steps:  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/roboflow1/original/1X/bca32db16b07addbf4b8be4dde42051af5db96e9.png)

I’m not using resize as preprocessing but looks like if images are default resized to 2048x2048 before tiling.

Many thanks, Alfred

---

<div class="post-metadata">

**Author:** ![anon59033456](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@anon59033456](https://discuss.roboflow.com/u/anon59033456)\
**Post date:** [March 23, 2022, 2:20pm UTC](https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236/2 "2022-03-23T14:20:08Z")

</div>

The image size and dimensions when tiling are up to your X by X parameters.

For example, if I took an image and tiled it 2X2, it would likely result in a perfectly squared sized images, width and height equal, vs if I tiled it 2X1 or 6X2 which would make the image’s width greater in value than the height and rectangular.

Tiling without it resizing the image by default would lead to unequal tile sizes

---

<div class="post-metadata">

**Author:** ![alfredv](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/alfredv/32/134_2.png) [@alfredv](https://discuss.roboflow.com/u/alfredv)\
**Post date:** [March 24, 2022, 7:14pm UTC](https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236/3 "2022-03-24T19:14:30Z")

</div>

I see. What it is the reason that maximum resize is 2048x2048? My goal is to keep the detailed resolution from the original image.

---

<div class="post-metadata">

**Author:** ![brad](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/brad/32/23_2.png) [@brad](https://discuss.roboflow.com/u/brad)\
**Post date:** [March 29, 2022, 5:22pm UTC](https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236/4 "2022-03-29T17:22:23Z")

</div>

Hi Alfred, most images are constrained to 2048x2048 to ensure high quality of service for other users (doing image transformations on that many pixels can get quite slow, especially with some of the more advanced augmentations).

That said, the 2048x2048 limit should come into place _after_ tiling which is one of the first things done.

I verified that this is the case by uploading a 4000x4000 image, applying a 5x5 tiling step, and observing that the output is 800x800 as expected (the resize step applies to the tiles, not the original image before tiling). Are you seeing different behavior on your end?

---

<div class="post-metadata">

**Author:** ![alfredv](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/alfredv/32/134_2.png) [@alfredv](https://discuss.roboflow.com/u/alfredv)\
**Post date:** [March 31, 2022, 7:50pm UTC](https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236/5 "2022-03-31T19:50:45Z")

</div>

Hi Brad, my original image is 8192x5460 so not a square. It looks like it first resizes it to a 2048x2048 before tiling. Maybe if I slice it first to 5460x5460 it will not resized to 2048x2048 ?

---

<div class="post-metadata">

**Author:** ![brad](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/brad/32/23_2.png) [@brad](https://discuss.roboflow.com/u/brad)\
**Post date:** [March 31, 2022, 8:43pm UTC](https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236/6 "2022-03-31T20:43:53Z")

</div>

That shouldn’t matter; any chance you’d be willing to share this project with Roboflow support so I can have a closer look?

---

<div class="post-metadata">

**Author:** ![alfredv](https://yyz1.discourse-cdn.com/flex029/user_avatar/discuss.roboflow.com/alfredv/32/134_2.png) [@alfredv](https://discuss.roboflow.com/u/alfredv)\
**Post date:** [March 31, 2022, 9:00pm UTC](https://discuss.roboflow.com/t/images-are-resized-to-2048x2048-before-tiling-by-default/236/7 "2022-03-31T21:00:46Z")

</div>

I think I found the problem. The resizing only happens after adding an augmentation. I only did tiling (14x20) and null filter resulting in the right tiles (409x390)
