rgb2gray(img) -> convert(Image{Gray}, img), with fixes