Re-Color a bitmap file

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Re-Color a bitmap file

    I have a 2-Color bitmap file that I would like to map into an altered bitmap. Is there a convienient mechanism to do this? It appears as if I need to directly modify the palette array created by the conversion too from:

    static GUI_CONST_STORAGE GUI_LOGPALETTE PalArrow40 = {...

    to

    static GUI_LOGPALETTE PalArrow40 = {...

    I would prefer making the GUI_LOGPALETTE point to a new, local array, but because the structure calls out a constant (read only) variable, I can't.

    How does one make use of the custom palette in the conversion tool? I notice here, the GUI_LOGPALETTE points to a null pointer.