All,
consider this piece of code:
What it does, it creates an image 32X32 pixels, draws a white background on it, and then save it.
Then I open the image with PSP7, and I was really surprised to find out that the white color was not really white - I mean, not 255,255,255 for RGB, but something very near to it.
Then, I've seen that my PC video card settings were set to 16 bit colour; changing it to 32, has solved the problem.
Question: is there any way to avoid this issue ? I mean, PSP7 is capable of writing a real white color, and read it correctly, withouth having to set the video settings.
Why I can't if I use B3D? I've also tryed with BlitzPlus - same story. And I've also tryed with all the Graphics video setting resolution flags (I mean the third parameter).
What is wrong ?
Any comment ?
Sergio.
consider this piece of code:
img = createimage(32,32) setbuffer imagebuffer(img) clscolor 255,255,255 cls saveimage (img, "test.bmp")
What it does, it creates an image 32X32 pixels, draws a white background on it, and then save it.
Then I open the image with PSP7, and I was really surprised to find out that the white color was not really white - I mean, not 255,255,255 for RGB, but something very near to it.
Then, I've seen that my PC video card settings were set to 16 bit colour; changing it to 32, has solved the problem.
Question: is there any way to avoid this issue ? I mean, PSP7 is capable of writing a real white color, and read it correctly, withouth having to set the video settings.
Why I can't if I use B3D? I've also tryed with BlitzPlus - same story. And I've also tryed with all the Graphics video setting resolution flags (I mean the third parameter).
What is wrong ?
Any comment ?
Sergio.