TIled map can't be smaller than 32x32

Hi I have been trying to export my map that is 20x21 tiles but even after having resized it to that size it still exports it as a 32x32 csv file I was wondering if there was a way to fix this

It sounds like you’ve got your map set to infinite. At the moment the size of an infinite map is increased by 16x16 chunks, so an infinite map with content just being 20x21 will indeed export as a 32x32 map.

I would suggest to go into Map > Map Properties and disable the checkbox for Infinite.

I’ve now made a patch that makes the CSV export use the exact bounding rectangle for infinite maps, though: