Le 19/07/2014 19:36, Mário Luzeiro a écrit :
> As part of my contribution to kicad source code, I would like to add a new 
> image ex: 32x32 pixels.
> Lets say I want to use a image (png) in source code.
> Are there any policies to use / add new images to project?
> I saw what it looks like to use .cpp files to store the raw data of images. 
> How can I add and convert new images?
> What functions can I use to read it?
> 
> Thanks!
> MRL


I am guessing you want to create new icons.

All icons are vectored .svg images, (however most are optimized for a
26x26 resolution).
(we are using inkscape to build//edit/convert them).

they are converted to .cpp (from a temporary .png file) by the kicad
building process if you are using the option -DMAINTAIN_PNGS=ON.

You can find more info in bitmaps_png/CMakeLists.txt

-- 
Jean-Pierre CHARRAS

_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to