03-03-2023, 07:49 AM
In case anyone is interested, I am going to try to explain in my painful English what I have finally done to solve my problem.
I read the glow PNG and put it in a new image (long) variable (I will call it "source").
If this image's width is (i.e.) 100x100 pixels, I create a 2-dimension array that is 150x100 positions (because I'm going to paste one glow near to the other). I will call this array "destiny".
I read for the first time "source" image pixel by pixel with POINT, and I paste these values onto "destiny" array.
I read again "source" image, and I compare the values of "destiny" array located 50 positions to the right. From both valors, I paste the maximum one onto "destiny".
Finally, i read "destiny" array pixel by pixel, and I write them into another image variable, and then I put this image on the screen.
I hope I have explained myself well... this is my final result, and I like it
I read the glow PNG and put it in a new image (long) variable (I will call it "source").
If this image's width is (i.e.) 100x100 pixels, I create a 2-dimension array that is 150x100 positions (because I'm going to paste one glow near to the other). I will call this array "destiny".
I read for the first time "source" image pixel by pixel with POINT, and I paste these values onto "destiny" array.
I read again "source" image, and I compare the values of "destiny" array located 50 positions to the right. From both valors, I paste the maximum one onto "destiny".
Finally, i read "destiny" array pixel by pixel, and I write them into another image variable, and then I put this image on the screen.
I hope I have explained myself well... this is my final result, and I like it
10 PRINT "Hola! "
20 GOTO 10
20 GOTO 10