Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1651
16-bit color and pixel manipulation
le 01/09/2009 @ 20:15 par 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 Réponse n° 1 -------- le 01/09/2009 @ 22:00 par aldweb
visiteur
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 Réponse n° 2 -------- le 29/12/2009 @ 03:58 par mylfedrive
visiteur
Is this fixed in 7.0?
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497 Réponse n° 3 -------- le 29/12/2009 @ 12:41 par aldweb