Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:15 21 Nov 2025 Privacy Policy
Jump to

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.

Forum Index : Microcontroller and PC projects : Having trouble with notblack

Author Message
William Leue
Guru

Joined: 03/07/2020
Location: United States
Posts: 405
Posted: 05:31pm 06 Jul 2022
Copy link to clipboard 
Print this post

I wrote a program that creates images on the screen with a few colors, then uses image save to write the screen out in BMP format. The images have 5 colors, and the "black" I use is rgb(notblack).

When I read the image back in with LOAD BMP, I expected the notblack pixels to show up as "black", but in fact they show up as transparent. I thought the purpose of the notblack color was to provide a near-black value that would NOT be interpreted as transparent.

I am using mode 1,8 for both creating the image and reading it back. Any clues would be appreciated!

-Bill
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025