Creating own bitmap symbol

Hi,
I was looking at the source code for the icons in order to create my own bitmap code from a .png file and came across the file:
https://github.com/janisozaur/kicad/blob/master/CMakeModules/PNG2cpp.cmake”.

How can one use this file to convert any .png to a bitmap or is there another way to do this conversion.

Cheers,
Andrea

Look for the bitmap2component tool within KiCAD.

1 Like

I don’t understand. A .png IS a bitmap. So is a .jpg, and a .gif, and a .bmp, and an .ilbm, etc.
Just like a square is a quadrilateral and so is a rectangle, and a rohmbus, and a trapezoid, etc.

And, what does this have to do with KiCad?

Sorry, I meant how to generate a set of hexadecimals from a png file to create my own icon.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.