func DecodeConfig(r io.Reader) (image.Config, string, error) {
	rr := asReader(r)
	f := sniffByMagic(rr)
	if f.DecodeConfig == nil {
		return image.Config{}, "", image.ErrFormat
	}
	c, err := f.DecodeConfig(rr)
	return c, f.Name, err
}
// DecodeConfig decodes the color model and dimensions of 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.
DecodeConfig decodes the color model and dimensions of 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.
// DecodeConfig decodes the color model and dimensions of 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 DecodeConfig(r io.Reader) (image.Config, string, error) {
	rr := asReader(r)
	f := sniffByMagic(rr)
	if f.DecodeConfig == nil {
		return image.Config{}, "", image.ErrFormat
	}
	c, err := f.DecodeConfig(rr)
	return c, f.Name, err
}
func DecodeConfig ( r io . Reader ) ( image . Config , string , error ) { rr := asReader ( r ) f := sniffByMagic ( rr ) if f . DecodeConfig == nil { return image . Config { } , " " , image . ErrFormat } c , err := f . DecodeConfig ( rr ) return c , f . Name , err }
DecodeConfig decodes the color model and dimensions of an image that has
been encoded in a registered format.
DecodeConfig decodes the color model and dimensions of an image that has been encoded in a registered format .