func Decode(r io.Reader) (image.Image, string, error) {
	rr := asReader(r)
	f := sniffByMagic(rr)
	if f.Decode == nil {
		return nil, "", image.ErrFormat
	}
	m, err := f.Decode(rr)
	return m, f.Name, err
}
// Decode decodes an image that has been encoded in a registered format.
// The string returned is the format name used during format registration.
// Format registration is typically done by an init function in the codec-
// specific package.
Decode decodes an image that has been encoded in a registered format.
The string returned is the format name used during format registration.
Format registration is typically done by an init function in the codec
specific package.
// Decode decodes an image that has been encoded in a registered format . // The string returned is the format name used during format registration . // Format registration is typically done by an init function in the codec - // specific package .
func Decode(r io.Reader) (image.Image, string, error) {
	rr := asReader(r)
	f := sniffByMagic(rr)
	if f.Decode == nil {
		return nil, "", image.ErrFormat
	}
	m, err := f.Decode(rr)
	return m, f.Name, err
}
func Decode ( r io . Reader ) ( image . Image , string , error ) { rr := asReader ( r ) f := sniffByMagic ( rr ) if f . Decode == nil { return nil , " " , image . ErrFormat } m , err := f . Decode ( rr ) return m , f . Name , err }
Decode decodes an image that has been encoded in a registered format.
Decode decodes an image that has been encoded in a registered format .