func Encode(w io.Writer, m image.Image, opt *Options) error {
	if opt != nil {
		return jpeg.Encode(w, m, &opt.Options)
	} else {
		return jpeg.Encode(w, m, nil)
	}
}
// Encode writes the Image m to w in JPEG 4:2:0 baseline format with the given
// options. Default parameters are used if a nil *Options is passed.
Encode writes the Image m to w in JPEG 4:2:0 baseline format with the given
options. Default parameters are used if a nil *Options is passed.
// Encode writes the Image m to w in JPEG 4 : 2 : 0 baseline format with the given // options . Default parameters are used if a nil * Options is passed .
func Encode(w io.Writer, m image.Image, opt *Options) error {
	if opt != nil {
		return jpeg.Encode(w, m, &opt.Options)
	} else {
		return jpeg.Encode(w, m, nil)
	}
}
func Encode ( w io . Writer , m image . Image , opt * Options ) error { if opt != nil { return jpeg . Encode ( w , m , & opt . Options ) } else { return jpeg . Encode ( w , m , nil ) } }
Encode writes the Image m to w in JPEG 4:2:0 baseline format with the given
options.
Encode writes the Image m to w in JPEG 4 : 2 : 0 baseline format with the given options .