|
 |
On 5/14/23 17:16, Leroy wrote:
> So I tried this.
>
> #local Tc=Image_Width * Image_Height;
> #for(a,0,Tc)//--- notice the change------
> #write (Mfile,uint8 Image[a])// The image array still contain Integers<256
> #end
> POV didn't crash !? And the image worked!!
I don't know why you see what you do.
In some quick tests on linux the parser always stops with an error once
the array subscript goes out of range on the very last 'for loop' step.
And I don't have problems with the larger array.
A wild guess is maybe the file handle (Mfile) isn't always getting
closed in the SDL and the file buffering or render completion handling
for open file handles not explicitly closed is in some way different on
windows? It's a wild guess that I don't think the likely.
Bill P.
Post a reply to this message
|
 |