Hi
I would like to know if it's possible to import seq of images into image array.
Is it possible to achive it by using import paint command? How can I put imported paint into array item?
Am I able to import that seq as non compressed images because I want to show them fery fast, as flipbook?
Thanks in advance
Import sequence into image array
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Import sequence into image array
Hi Srdjan,
sure this is possible!
1. if the images are already imported:
...
put the text of img "your image1" into my_imgarray[1]
## etc...
...
1.b.
Very important:
This requires that ALL images, source and target, have the SAME!!! dimensions (height and width)!!!
See 1.b. below for displaying these data again
...
put the imagedata of img "your image1" into my_imgarray[1]
## etc...
...
2. Import directly from a filepath (folder listing in a repeat loop or whatever)
...
put url("binfile:" & Variable_with_the filepath) into my_imgarray[1]
...
You get the picture!
To put thes items in the array back into images you can then use this in a repeat loop.
You may need to do some testing to see what may be the fastest way, if speed is important!
1. ...
put my_imgarray[1] into img "You animation image here"
...
OR
...
set the text of img "You animation image here" to my_imgarray[1]
...
Solution for 1.b. above and ONLY works with solution 1.b. above:
...
set the imagedata of img "You animation image here" to my_imgarray[1]
...
Hope that helps!
Best
Klaus
P.S.
Just read your post again:
"imagedata" will be "raw" uncompressed data!
sure this is possible!
1. if the images are already imported:
...
put the text of img "your image1" into my_imgarray[1]
## etc...
...
1.b.

Very important:
This requires that ALL images, source and target, have the SAME!!! dimensions (height and width)!!!
See 1.b. below for displaying these data again
...
put the imagedata of img "your image1" into my_imgarray[1]
## etc...
...
2. Import directly from a filepath (folder listing in a repeat loop or whatever)
...
put url("binfile:" & Variable_with_the filepath) into my_imgarray[1]
...
You get the picture!
To put thes items in the array back into images you can then use this in a repeat loop.
You may need to do some testing to see what may be the fastest way, if speed is important!
1. ...
put my_imgarray[1] into img "You animation image here"
...
OR
...
set the text of img "You animation image here" to my_imgarray[1]
...
Solution for 1.b. above and ONLY works with solution 1.b. above:
...
set the imagedata of img "You animation image here" to my_imgarray[1]
...
Hope that helps!
Best
Klaus
P.S.
Just read your post again:
"imagedata" will be "raw" uncompressed data!
Re: Import sequence into image array
ho, ho ,ho
This is exactly what I want.
Thank you Klaus very much!
This is exactly what I want.
Thank you Klaus very much!
Re: Import sequence into image array
Hi Srdjan,
Best
Klaus
As others here in the forum already experienced I have some basic telepathic capabilitiesSrdjan wrote:ho, ho ,ho
This is exactly what I want.

You're welcome!Srdjan wrote:Thank you Klaus very much!
Best
Klaus