added ability to specify tile_dims when creating compressed image