Skip to content

A PLAY EXPERIENCE MAKER'S WORK LOG FOR FUTURE SELF©2001 – 2023 Kyle Li 李肅綱 All Rights Reserved.

BMP – Rearrange Colormap

Posted on February 16, 2026March 1, 2026 by admin

In my limited experience working with BMP, GIMP UI is more intuitive and easy to use in comparison to Photoshop in this particular task, especially when it comes to rearranging colors in the color palette. Also, the image quality after color reduction and shrinking is better effortlessly in my opinion.

Using GIMP

  1. Open Image: Open your image in GIMP.
  2. Indexed Mode: Go to Image > Mode > Indexed.
  3. Set Colors: Choose “Generate optimum palette” and set the Maximum number of colors to 4.
  4. Reorder Palette: Go to Colors > Map > Rearrange Colormap. Drag and drop the colors into your desired order (Index 0-3).
  5. Force 8-bit Colormap: Open the Colormap dialog (Windows > Dockable Dialogs > Colormap) and click the ‘+’ button to add colors, ensuring the total is greater than 16, which forces an 8-bit (256 color) palette.
    ※This is because the index image is reduced to 4 colors, GIMP automatically create a 4-bit (16 colors) map to save space. This will mess up how BMP is displayed in yyCHR.
  6. Export: Go to File > Export As, select BMP. 
Add 13 more colors in the colormap to force the 8-bit Colormap.
You can see the difference in Bit Depth in Properties/Details. On the left is the correct one with 8 bit depth (>16 colors).
8-bit Colormap
4-bit Colormap

Posted in 1000

Post navigation

Reset Allow USB Debugging? Notification

Recent Posts

  • BMP – Rearrange Colormap
  • Reset Allow USB Debugging? Notification
  • 8-bit Notes
  • AT29C256 90PI
  • Super-Toys Last All Summer Long

Archives

Proudly powered by WordPress | Theme: MiniZen by Martin Stehle.