@David Boudreau
I am, like Sauer said, trying to name the handle of the image to the string generated by the function. Also, that is why I overwrite tmpOutImgStore$. So i get
@Sauer
Thought so.
Thanks. I could use the function to create an array like you suggested instead.
But I don't know how to do that- that's what this thread is about
...
Oh well. I guess I will just do a loop
But if anyone gets anywhere, I am still open to ideas!
So, you want your tempOutImgStore$ variable to be:
rotatedimage1
...and then, ...eventually:
rotatedimage123456789[...]360
No? (that might work in Python, not even sure about it working or not in Blitz.) It seems you are trying to add a number, i, to some text, "rotatedimage". It's probably not what you want, right? In any case, it doesn't really matter to the compiler, because you completely throw away the value you assigned to tempOutImgStore$ entirely with your very next line:
rotatedimage1
...and then, ...eventually:
rotatedimage123456789[...]360
No? (that might work in Python, not even sure about it working or not in Blitz.) It seems you are trying to add a number, i, to some text, "rotatedimage". It's probably not what you want, right? In any case, it doesn't really matter to the compiler, because you completely throw away the value you assigned to tempOutImgStore$ entirely with your very next line:
I am, like Sauer said, trying to name the handle of the image to the string generated by the function. Also, that is why I overwrite tmpOutImgStore$. So i get
image1 then image2 and not image12.@Sauer
angles 0 and 360 are the same.
Thought so.
But this method is not only impossible with Blitz but also would be inefficient if it worked. Because think about it... you'd have 360 variables per image, which would be hard to manage anyway.
Thanks. I could use the function to create an array like you suggested instead.
But I don't know how to do that- that's what this thread is about
...
Oh well. I guess I will just do a loop
dim myimage(360) myimage = loadimage("image.png") tempimage = copyimage(myimage) for i = 0 to 359 myimagerotated(i)= rotateimage(tempImage, i) next
But if anyone gets anywhere, I am still open to ideas!