|Assignee:||Kyle Monico||% Done:|
|Required by:||MAPC, Boston, MA|
#9 Updated by Kyle Monico almost 6 years ago
- Status changed from Open to In Progress
- Assignee set to Kyle Monico
- Required by changed from Boston to MAPC, Boston, MA
weave.evaluateExpression(null, 'getBase64Image(Application.application)', null, ['weave.utils.BitmapUtils', 'mx.core.Application'])
This is using the evaluateExpression function from the latest nightly build. If you want to get the image of a specific tool, you can do something like this:
weave.evaluateExpression(['SPT'], 'getBase64Image(this)', null, ['weave.utils.BitmapUtils'])
You can also use ['weave.utils::BitmapUtils'] for the qualified class name.
#11 Updated by Christian Spanring almost 6 years ago
this works great!
one question: can you exclude the menubar when creating the base64 representation? it's not really needed in a thumbnail and the "export" function also hides it. should I add a new feature request for that or can we just amend this ticket here?