Skip to main content
DBarranca
Legend
September 16, 2013
Question

BitmapData to ScriptUIImage object

  • September 16, 2013
  • 0 replies
  • 624 views

Hello,

to the best of my knowledge this can't be done, but I'd be better off asking.

When I retrieve a Thumbnail.core.thumbnail.thumbnail object it's BitmapData; is there a way (except .exportTo() as a JPG and reading from that very file) to use that BitmapData to build a ScriptUIImage object - to be loaded in a ScriptUI window as an 'image'?

The guide says:

You can set it to a ScriptUIImage object; a named icon resource; a File object; or the pathname of a file containing the iconic image, or of an alias or shortcut to that file (see “Specifying paths” on page 39).

Thanks,

Davide Barranca

www.davidebarranca.com

This topic has been closed for replies.