code: def write(self, image, options, thumbnail):
          
          format_ = options['format']
          quality = options['quality']
          image_info = options.get('image_info', {})
          # additional non-default-value options:
          progressive = options.get('progressive', settings.THUMBNAIL_PROGRESSIVE)
          raw_data = self._get_raw_data(
              image, format_, quality,
              image_info=image_info,
              progressive=progressive
          )
          thumbnail.write(raw_data)
docs: Wrapper for ``_write``