kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #30144
Re: Generating the _xpm files uside by icons in eeschema.
pngcrush is availabe on msys2 so you should be able to do this on
windows as well. Although you may end up with different eol characters
in the png files.
On 7/25/2017 4:30 AM, Fabrizio Tappero wrote:
> that is true.
>
> SVG to PNG to CPP requires a linux software called PNGCRUSH
> https://pmt.sourceforge.io/pngcrush/
>
> cheers
> Fabrizio
>
>
>
> On Tue, Jul 25, 2017 at 9:02 AM, Oliver Walters
> <oliver.henry.walters@xxxxxxxxx <mailto:oliver.henry.walters@xxxxxxxxx>>
> wrote:
>
> Kristoffer,
>
> I believe you also have to be compiling under Linux, for this to work.
>
> On Tue, Jul 25, 2017 at 4:35 PM, Maciej Sumiński
> <maciej.suminski@xxxxxxx <mailto:maciej.suminski@xxxxxxx>> wrote:
>
> Hi Kristoffer,
>
> You need to add entries to bitmaps_png/CMakeLists.txt and
> include/bitmaps.h. After that you need to build KiCad with a Cmake
> option -DMAINTAIN_PNGS=ON. You will need Inkscape for file format
> conversion.
>
> Regards,
> Orson
>
> On 07/24/2017 09:40 PM, Kristoffer Ödmark wrote:
> > Hello!
> >
> > I am working on some patches currently that adds a few menu
> entries in
> > eeschema. Since they seem to require me to add icons to all of the
> > entries, I am now stuck on trying to generate the .cpp files.
> Could
> > someone point me in the correct way on how to do this.
> >
> > I currently have added 2 svg files in bitmaps_png/sources/
> after that I
> > am unsure of what to do. Tried running a script i found in
> there, which
> > ran "rm -r *", causing me to have to remake svgs.
> >
> > - Kristoffer
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> > Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> > More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~kicad-developers
> <https://launchpad.net/~kicad-developers>
> More help : https://help.launchpad.net/ListHelp
> <https://help.launchpad.net/ListHelp>
>
>
>
>
> _______________________________________________
> 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
>
References