Warzone2100 / warzone2100

Command the forces of The Project in a battle to rebuild the world after mankind has been nearly destroyed by nuclear missiles. A 100% free and open source real-time strategy game for Windows, macOS, Linux, BSD+
https://wz2100.net
GNU General Public License v2.0
3.18k stars 527 forks source link

Replace png 128x128 icon by svg? #1789

Open Chewbakka-Wakka opened 3 years ago

Chewbakka-Wakka commented 3 years ago

May I ask do you have a scalable icon that can be used and included in the source tree?

I'd like to use this in place of the fixed 128x128 png file for the desktop icon in my RPM.

Chewbakka-Wakka commented 3 years ago

Can anyone upload or provide the SVG in source?

Chewbakka-Wakka commented 5 months ago

Tried a few methods to trace the existing .png files over into a .svg format. Results are not that good but recognizable.

Used a combo of tools including; ImageMagic, Inkscape, convert, potrace and autotrace.

$ convert images/warzone2100.png images/warzone2100.pnm $ potrace -s images/warzone2100.pnm -o images/warzone2100.svg ( black and white only ) $ autotrace -output-file ouput.svg -output-format svg --color-count 4 warzone2100 ( with colour ) Results as shown:

ouput warzone2100