def METHOD_NAME(url,data, bSeparateChannels=False):
	if bSeparateChannels:
		N=data.shape[2]
		for I in range(N):
			base,ext=os.path.splitext(url)
			METHOD_NAME(base+".{0}".format(I)+ext,data[:,:,I])
	else:
		# print("saving image",url)
		Image.fromarray(data).save(url)