func DecodeConfig(r io.Reader) (cfg image.Config, err error) {
	var b [24]byte

	if _, err = io.ReadFull(r, b[:]); err == nil {
		cfg.Width = int(LittleEndian.Uint32(b[16:]))
		cfg.Height = int(LittleEndian.Uint32(b[20:]))
	}

	return
}
// DecodeConfig decodes a header of Half-Life image and returns its
// configuration.
DecodeConfig decodes a header of Half-Life image and returns its
configuration.
// DecodeConfig decodes a header of Half - Life image and returns its // configuration .
func DecodeConfig(r io.Reader) (cfg image.Config, err error) {
	var b [24]byte
	if _, err = io.ReadFull(r, b[:]); err == nil {
		cfg.Width = int(LittleEndian.Uint32(b[16:]))
		cfg.Height = int(LittleEndian.Uint32(b[20:]))
	}
	return
}
func DecodeConfig ( r io . Reader ) ( cfg image . Config , err error ) { var b [ 24 ] byte if _ , err = io . ReadFull ( r , b [ : ] ) ; err == nil { cfg . Width = int ( LittleEndian . Uint32 ( b [ 16 : ] ) ) cfg . Height = int ( LittleEndian . Uint32 ( b [ 20 : ] ) ) } return }
DecodeConfig decodes a header of Half-Life image and returns its
configuration.
DecodeConfig decodes a header of Half - Life image and returns its configuration .