RichObject CreateRawImageObject(const String& s, int cx, int cy) { RichObject o = RichObject("rawimage", s); o.InitSize(cx, cy); return o; }