image: gofmt -s -w .
image: some small style changes

 - Remove inline comments
 - Do not call bytes.NewBuffer for empty buffers