Page 2 of 2
Re: Image problems
Posted: Sat Jul 04, 2020 1:39 pm
by redfield
I just realized this, when reading through the "Images and Multimedia" lesson from
http://www.hyperactivesw.com/revscriptc ... ences.html, as recommended by Klaus. Thanks for the confirmation of what I've just been reading

!
Re: [SOLVED] Image problems
Posted: Sat Jul 04, 2020 2:26 pm
by SparkOut
There is a script equivalent of import as control, as in my earlier post (#3 in this thread)
Code: Select all
import paint from file <theImageFilePath>
which creates the image object and returns the long id in the it variable, so you can then set the new image's name.
Re: [SOLVED] Image problems
Posted: Sat Jul 04, 2020 7:05 pm
by redfield
Okay thanks, will see if I'm able to use that.
Re: [SOLVED] Image problems
Posted: Sat Jul 04, 2020 7:58 pm
by SparkOut
You don't have to! It's just that it was mentioned as an alternative image creation method, and the necessity for pre-existence of an image object was discussed. We're just trying to show you some features and expand your knowledge.