func MaybeExtractImageFromGoogleStorage(imagePath string, storageClient *storage.Client) (image.Image, error) {

	// Read the PNG into memory still compressed - either from a local file, or
	// from Google storage, depending on the prefix you provide.
	f, _, err := MaybeOpenFromGoogleStorage(imagePath, storageClient)
	if err != nil {
		return nil, err
	}
	defer f.Close()

	return DecodeImageFromReader(f)
}
// MaybeExtractImageFromGoogleStorage pulls an image from a (possibly remote)
// folder
MaybeExtractImageFromGoogleStorage pulls an image from a (possibly remote)
folder
// MaybeExtractImageFromGoogleStorage pulls an image from a ( possibly remote ) // folder
func MaybeExtractImageFromGoogleStorage(imagePath string, storageClient *storage.Client) (image.Image, error) {
	f, _, err := MaybeOpenFromGoogleStorage(imagePath, storageClient)
	if err != nil {
		return nil, err
	}
	defer f.Close()
	return DecodeImageFromReader(f)
}
func MaybeExtractImageFromGoogleStorage ( imagePath string , storageClient * storage . Client ) ( image . Image , error ) { f , _ , err := MaybeOpenFromGoogleStorage ( imagePath , storageClient ) if err != nil { return nil , err } defer f . Close ( ) return DecodeImageFromReader ( f ) }
MaybeExtractImageFromGoogleStorage pulls an image from a (possibly remote)
folder
MaybeExtractImageFromGoogleStorage pulls an image from a ( possibly remote ) folder
// Read the PNG into memory still compressed - either from a local file, or // from Google storage, depending on the prefix you provide.