powered by
This will promote gray or RGB images to RGBA arrays.
convert_img_to_array(img)
magick image
RGBA array with all values in range [0, 1]