func (c Convert) Apply(img images.Image) error { logging.Debug(fmt.Sprintf("Converting image to: %v", c.Format)) return img.Convert(c.Format) }