func (r Resize) Apply(img images.Image) error { logging.Debug("Resizing image to: %v, %v", r.Width, r.Height) return img.Resize(r.Width, r.Height) }