// DecodeImageConfig accepts a reader and returns a CachedReader and the results of image.DecodeConfig
DecodeImageConfig accepts a reader and returns a CachedReader and the results of image.DecodeConfig
// DecodeImageConfig accepts a reader and returns a CachedReader and the results of image . DecodeConfig
func DecodeImageConfig(rd io.Reader) (safeReader io.Reader, cfg image.Config, format string, err error) {
	cr := &CachedReader{R: rd}
	cfg, format, err = image.DecodeConfig(cr)
	cr.Rewind()
	safeReader = cr
	return
}
func DecodeImageConfig ( rd io . Reader ) ( safeReader io . Reader , cfg image . Config , format string , err error ) { cr := & CachedReader { R : rd } cfg , format , err = image . DecodeConfig ( cr ) cr . Rewind ( ) safeReader = cr return }
DecodeImageConfig accepts a reader and returns a CachedReader and the results of image.DecodeConfig
DecodeImageConfig accepts a reader and returns a CachedReader and the results of image . DecodeConfig