Returning image in IKImageView

Hi There!

I can’t seem to figure out how to return the image in an IKImageView.


log imageView's image()
returns >> <BAImmediateData: 0x1001e73a0>

I can get the imageProperties, imageSize, but not the image.

Any thoughts?

Thanks!

mac.jedi

It looks like image() returns a CGImageRef, which is not a type supported by AppleScriptObjC.

Thanks Shane! I really appreciate your help! It’s not ideal, but I can keep a reference to the file when dropped or selected. I’m really just using it because of the simple animated rotate feature. I’d like to write the edited image to a file, but I guess I will just keep a track of the rotation value and do the edit with image events. Is this something I should file a request for?

Thanks again for your help!

Mac.jedi

Well you can rotate the image…

Definitely.