kicad-developers team mailing list archive
Mailing list archive
Re: How to make single-plane .cpp from .png?
pngcrush -c 0 makes a single-plane char array, but it appears to be in a different order or something (the array is the right size, but produces a garbage cursor).
Anyone know what the other colour modes are? (0, 2, 4, 6)
> On 5 Aug 2019, at 13:22, Jeff Young <jeff@xxxxxxxxx> wrote:
> 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.
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp