Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1651
16-bit color and pixel manipulation
01/09/2009 @ 20:15 by Roman
I was trying to create a workaround for redrawing bitmaps without redrawing the whole screen, like layers of bitmaps, but came across a shortcoming of iziBasic.
When copying and setting 16-bit color pixels with PGET and PSET the color is distorted. Only in 8-bit color was I able to copy portions of the screen (sections of pixels) without distortion.
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Answer n° 1 -------- 01/09/2009 @ 22:00 by aldweb
visitor
Hello Roman,
Yes, you might be right about 16-bit color pixels. My guess is that the value that can be stored in a number variable (which is a single real value) is not precise enough to store the real color... I put this one in my to do list for the next version.
Cheers, aldweb
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Answer n° 2 -------- 29/12/2009 @ 03:58 by mylfedrive
visitor
Is this fixed in 7.0?
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Answer n° 3 -------- 29/12/2009 @ 12:41 by aldweb
visitor
Hello,
No, it is still in my to do list...
Cheers,
aldweb
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky