select jpeg(((c)overlay((char)(((c)*(3)))))) from rgb AS c