for c in (rgb) return encode(sin(c.1), "jpeg")