Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting 24-Bit images to Paletted Images (2-colors to 256-colors)
#1
After nearly eight years (2018) on the run (away from the QB64 project) and shutting down my popular QB64 forum, I'm opening up another one. Actually, the site that will host my new QB64 forum, will also host other forums for other programming languages, except C++. That is on another domain name.

In saying this, you can't have a QB64 forum without new and exciting QB64 projects.

Here's a project I thought I would use to wet some whistles...

   

Converting 24-Bit images into a 2- to 256-color palette image.

   

   

Here's a comparison screenshot between my demo and Adobe Photoshop 2025:

   

Even at 256-color palette, my demo is closer to the original colors than what Adobe Photoshop produces:

While this appears to be exciting to see, it would be even better if you could get a hold of the source code to the project. Well... Here it is, along with the images used:

On a side note, press any key to increase the number of palette colors.


.zip   RGBtoPalette.zip (Size: 1.85 MB / Downloads: 41)
The Joyful Programmer has changed call signs. The Joyful Programmer is now called "AstroCosmic Systems".
Reply


Messages In This Thread
Converting 24-Bit images to Paletted Images (2-colors to 256-colors) - by The Joyful Programmer - 11-22-2025, 06:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Bright Circle Colors SierraKen 4 628 08-23-2025, 03:33 PM
Last Post: DANILIN
  A little bit of spark fun today TerryRitchie 2 847 05-18-2024, 12:59 AM
Last Post: bobalooie
  _ROL & _ROR A quickie bit of crypto OldMoses 0 526 09-05-2022, 09:36 PM
Last Post: OldMoses
  Load Image 256 Petr 1 757 05-22-2022, 06:19 PM
Last Post: Dav
Video QB64 Win32 Video Player (64 bit) SpriggsySpriggs 6 1,552 04-24-2022, 05:33 PM
Last Post: Dav

Forum Jump:


Users browsing this thread: 1 Guest(s)