Please add fast image compress API and API to get document title/file name

feature-request

#1
  • A way to access more DOM API like canvas, in my plugin we need a fast image compress API, which is quite slow in pure js but can be easily implemented via canvas. Relevant: https://github.com/AdobeXD/plugin-samples/issues/23

  • A way to get the file name, I can’t find an API to get the document title or file name, which is quite useful for exporting design spec.

Here is the plugin that I’m working on, the features above are quite useful in my use case, really appreciated if you can consider them. Thanks!