← Back to team overview

kicad-developers team mailing list archive

How to make single-plane .cpp from .png?


Our PNG2cpp.cmake script makes a 3 or 4 plane (ie: colour) char array.

wxWidgets’ wxBitmap() constructor needs a single plane char array.  John Beard created a couple for the SPICE cursors, but I’m not sure how he did it.


Follow ups