Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Change Amount Channels In Pic
#9
There seems to be a miscommunication.

I'm trying to program a picture file to have 2-channel color, not have one with 3-color only have 2 colors.

For instance, it could be colored #YYBB, #RRCC, or #MMGG, instead of #RRGGBB.

Black-&-White would still be possible, writing as #0000 for black, #8080 for gray, and #FFFF for white. #FF00 would be one color, #00FF would be the inverted color.

Using a different program, I tried looking for "03" hexadecimally in the beginning of picture files representing three colors, and changing it to "02", that didn't work.

Where is this "3" stored in an image file? Is it "2" because it starts from 0; 0=1, 1=2, 2=3? If that is the case, would changing it to 1 (=2) work?
Reply


Messages In This Thread
Change Amount Channels In Pic - by Winston - 01-18-2021, 11:34 AM
RE: Change Amount Channels In Pic - by rich2005 - 01-18-2021, 12:20 PM
RE: Change Amount Channels In Pic - by Winston - 01-18-2021, 12:48 PM
RE: Change Amount Channels In Pic - by rich2005 - 01-18-2021, 02:09 PM
RE: Change Amount Channels In Pic - by Winston - 01-18-2021, 03:12 PM
RE: Change Amount Channels In Pic - by rich2005 - 01-18-2021, 03:36 PM
RE: Change Amount Channels In Pic - by denzjos - 01-18-2021, 03:54 PM
RE: Change Amount Channels In Pic - by eepjr24 - 01-18-2021, 04:18 PM
RE: Change Amount Channels In Pic - by Winston - 01-19-2021, 01:10 PM
RE: Change Amount Channels In Pic - by Ofnuts - 01-19-2021, 09:25 PM
RE: Change Amount Channels In Pic - by eepjr24 - 01-19-2021, 01:53 PM
RE: Change Amount Channels In Pic - by rich2005 - 01-19-2021, 01:59 PM
RE: Change Amount Channels In Pic - by Winston - 01-19-2021, 11:54 PM
RE: Change Amount Channels In Pic - by Ofnuts - 01-20-2021, 10:58 AM
RE: Change Amount Channels In Pic - by eepjr24 - 01-20-2021, 03:34 AM
RE: Change Amount Channels In Pic - by Winston - 01-24-2021, 12:15 AM

Forum Jump: