Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 2610
Posted: 11:54pm 04 Jan 2025
Copy link to clipboard
Print this post
The Pixel x,y,Colour Command sets the value of a pixel and the Pixel(x,y) Function reads the 24 bit value of a pixel.
eg Col% = Pixel(x,y) Red = Col% >> 16 Green = (Col% >> 8) and 255 Blue = Col% and 255 ? Red, Green, Blue, Col%
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10240
Posted: 10:33am 05 Jan 2025
Copy link to clipboard
Print this post
This is a bug when the width is not a multiple of 2. Actually I assume you intended to save the full width of the screen so you probably wanted 320 not 319 but I'll put it on the list of minor things to be fixed. The fix will be to create an error if the width is not a multiple of 2 Edited 2025-01-05 20:48 by matherp