docs: def bounds(self):
          """Return image rectangle in pixels, as shapely.Polygon."""
          corners = [self.image_corner(corner) for corner in self.corner_types()]
          return Polygon([[corner.x, corner.y] for corner in corners])