11-10-2025, 06:01 PM
(11-08-2025, 07:44 PM)bplus Wrote: A little mod of numbers:Okay @bplus, I was playing with your code, and saw some strange behavior.
Download the attached files and give them a run.
2 questions:
Q1:
For FreeImage, I use a simple routine that checks to make sure the image is initialized before it does _FreeImage, so it doesn't blow up:
Code: (Select All)
Sub FreeImage (ThisImage&)
If ThisImage& < -1 Or ThisImage& > 0 Then _FreeImage ThisImage&
End Sub ' FreeImageI reverted back to the regular _FreeImage and did a check of the image handle value, and it doesn't change before or after the _FreeImage.
Shouldn't the value of the image handle go to 0 after it is freed?
Q2:
I don't know why, but for some reason in my version, the colors are these subdued pastels, and not the vibrant colors you had. What happened?
Anyway, I like your proggie, I'm just a little baffled by these 2 things...

