code: def padding(self, image, geometry, options):
          
          if options.get('padding') and self.get_image_size(image) != geometry:
              return self._padding(image, geometry, options)
          return image
docs: Wrapper for ``_padding``