select jpeg((((c).red)*({ 1c,2c,3c }))) from rgb as c