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
Importing images
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Importing images
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
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
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!
Re: Importing images
Thanks, Simon. Formattedheight and formattedwidth was what I needed. The rest was already in place.
Dave
Dave