Yup, it's not quite as simple as resizing the canvas.
I am exporting a tileset and a tilemap (json) to use with the tileset, so exporting a straight up image will actually just export a baked version of my tilemap.
Using tiles of 32x32 for example... I can control the width the tileset image is exported at by setting the tilset width to 8 (this will be power of 2), but the height of the tileset image is determined by how many rows of 8 tiles there are.
So if i only have 7 rows of tiles (56 tiles in total), the exported image height will be 224px high. It would be nice to be able to have the tileset exported as a power of two, so the image is actually 256x256, with a blank row at the bottom. Obviously it would be nice to the power of two to work horizontally and vertically.
Hope that makes a bit more sense. Maybe it's a bit more of a niche problem though.