Re: Windows users, a 10 sec. test
- Posted by ghaberek (admin) Sep 12, 2016
- 1557 views
irv said...
Ok thanks. I guess I'll have to convert all the GTK icons to .png or something that Windows can handle.
Sorry, I guess I'm a bit late to this thread. I could have told you straightaway that Windows does not natively support SVG images.
You can use ImageMagick, Inkscape, or svgexport to convert the SVG images to PNG. You could automate the process with a Makefile.
- http://stackoverflow.com/questions/9853325/how-to-convert-a-svg-to-a-png-with-image-magick
- http://stackoverflow.com/questions/18192250/convert-and-resize-svg-to-png
# Makefile to convert all SVG images to PNG in the current directory (untested). # To run, just type 'make' at the command line. Use -j for multiple threads. # # $ make -j4 # runs 4 jobs at once all : $(patsubst %.svg,%.png,$(wildcard *.svg)) %.png : %.svg convert -size 16x16 $< $@
-Greg