Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread jp charras
Le 26/02/2018 à 19:13, Wayne Stambaugh a écrit : > On 2/26/2018 1:09 PM, Marco Ciampa wrote: >> On Mon, Feb 26, 2018 at 12:44:57PM -0500, Wayne Stambaugh wrote: >>> We should probably update the cmake file to include the -z option for >>> inkscape on macos builds so macos can be used to update

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Wayne Stambaugh
On 2/26/2018 1:09 PM, Marco Ciampa wrote: > On Mon, Feb 26, 2018 at 12:44:57PM -0500, Wayne Stambaugh wrote: >> We should probably update the cmake file to include the -z option for >> inkscape on macos builds so macos can be used to update image files >> without having to fall back to entering

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Marco Ciampa
On Mon, Feb 26, 2018 at 12:44:57PM -0500, Wayne Stambaugh wrote: > We should probably update the cmake file to include the -z option for > inkscape on macos builds so macos can be used to update image files > without having to fall back to entering commands by hand. -z should work on all

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Wayne Stambaugh
We should probably update the cmake file to include the -z option for inkscape on macos builds so macos can be used to update image files without having to fall back to entering commands by hand. On 2/26/2018 12:39 PM, Seth Hillbrand wrote: > In case this thread comes up in a search in the

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Seth Hillbrand
In case this thread comes up in a search in the future, my commandline for exporting without the GUI is: /Applications/Inkscape.app/Contents/Resources/bin/inkscape --export-area-snap -e ${input}.png -f ${output}.svg -z Inkscape version 0.48.5 -S 2018-02-26 9:26 GMT-08:00 Jeff Young

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Jeff Young
I ended up running everything by hand: Create png via Inkscpae GUI. pngcrush refresh.png cmake -DinputFile=/users/jeff/kicad_dev/kicad/bitmaps_png/png_16/refresh.png \ -DoutCppFile=/users/jeff/kicad_dev/kicad/bitmaps_png/cpp_16/refresh.cpp \ -P PNG2cpp.cmake > On 26 Feb 2018, at

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Seth Hillbrand
Jeff- Use the "-z" commandline option to execute things without the gui on Mac. -S 2018-02-26 9:04 GMT-08:00 Nick Østergaard : > On linux it does not open a GUI, it just converts the images when I make. > > 2018-02-26 18:01 GMT+01:00 Jeff Young : > >> When I

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread jp charras
Le 26/02/2018 à 18:04, Nick Østergaard a écrit : > On linux it does not open a GUI, it just converts the images when I make. Same on Windows. I remember some time ago a mail about issues with inkscape on OSX to convert the svg file to a png file. And an other tool was mentioned to convert these

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Jeff Young
When I do a build it opens the GUI inkscape (should it be doing that?) but then hangs. (I can use Inkscape, but my build just sits there.) > On 26 Feb 2018, at 16:58, jp charras wrote: > > Le 26/02/2018 à 17:17, Nick Østergaard a écrit : >> I am not sure how well it

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread jp charras
Le 26/02/2018 à 17:17, Nick Østergaard a écrit : > I am not sure how well it works on macos, but it uses inkscape to export them > to png and then > something else to turn them to xpm which is turned into cpp as far as I > remember. I may be wrong. > > 2018-02-26 17:16 GMT+01:00 Nick Østergaard

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Seth Hillbrand
Jeff- On my mac, I use /Applications/Inkscape.app/Contents/Resources/bin/inkscape for the command-line access. It is installed with the standard GUI. -S 2018-02-26 8:23 GMT-08:00 Jeff Young : > Yeah, it looks like inkscape and pngcrush. > > I have the inkscape GUI app; does it

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Jeff Young
Yeah, it looks like inkscape and pngcrush. I have the inkscape GUI app; does it need a separate command-line tool, or is the GUI app also a command-line tool? Thanks, Jeff. > On 26 Feb 2018, at 16:17, Nick Østergaard wrote: > > I am not sure how well it works on macos,

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Nick Østergaard
I am not sure how well it works on macos, but it uses inkscape to export them to png and then something else to turn them to xpm which is turned into cpp as far as I remember. I may be wrong. 2018-02-26 17:16 GMT+01:00 Nick Østergaard : > Enable MAINTAIN_PNGS with cmake. > >

Re: [Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Nick Østergaard
Enable MAINTAIN_PNGS with cmake. 2018-02-26 17:14 GMT+01:00 Jeff Young : > (Don’t worry; not for 5.0stable.) > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net >

[Kicad-developers] How do I turn one of our .svg icons into a .cpp file?

2018-02-26 Thread Jeff Young
(Don’t worry; not for 5.0stable.) ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp