When i choose a image component, then click Edit->image(1 in model)-> export, I can export a image entity as its source file.
First question: Is there any way to do this by ruby? I only find a function View.write_image in API document. But seems like it doesn’t do what I want.
Second question: Is there any way to make this image component encode to BASE64? So that I can post it to a Webdialog as a parameter. Or just, if I can print this image on a Webdialog with some others methods?
Thanks for your help, and sorry for broken English