I need to update a logo bitmap to an updated logo. The existing code uses a C header which is loaded via XChangeProperty
.
I have looked into imagemagick and the Gimp in order to convert the updated png I have into a suitable header. Gimp even said 'export a C header' (or something like it) but the result did not resemble the existing format.
How do I go (preferably on the command-line) from a png to a suitable header file?
Edit: Expanding the question a little, the (now out of date) logo I would like to replace is in this file and gets used here.