Page 1 of 1
Importing images
Posted: Thu Nov 28, 2013 6:52 am
by dsquance
I want to import an image and base the action taken with the image on its dimensions. I've been using the answer file command, but don't see how to test the dimensions, because it appears it just fills whatever blank image is waiting for it. Is there a better way than answer file, or have I missed something that should be obvious.
Dave
Re: Importing images
Posted: Thu Nov 28, 2013 8:02 am
by Simon
Hi Dave,
I think you can keep using answer file, just put "it" into an invisible image then;
put the formattedHeight of image "hiddenImage" into tHeight
put formattedWidth of image "hiddenImage" into tWidth
Then you can do what you like with the info before showing the image.
Important, put "it" into another variable.
Simon
Re: Importing images
Posted: Thu Nov 28, 2013 10:51 pm
by dsquance
Thanks, Simon. Formattedheight and formattedwidth was what I needed. The rest was already in place.
Dave