Download Latest Version xtrkcad-source-5.3.1Beta1.tar.bz2 (13.3 MB)
Email in envelope

Get an email when there's a new version of XTrkCAD Model RR Track Planner

Home / Development / SvgToIcon
Name Modified Size InfoDownloads / Week
Parent folder
readme.md 2021-12-29 1.4 kB
SvgToIcon.zip 2021-12-29 21.9 MB
Totals: 2 Items   21.9 MB 0

SvgToIcon

This is a utility program written in C# with Visual Studio 2019.

The program expects there to be folders for the SVG files and for the binary output files. Copy the SVG files from the XTrackCAD source distribution (xtrkcad\app\bin\bitmaps\SVG).

  • Folder structure
Root Folder Folder Note
SvgToIcon 16pix This folder will get the 16 pixel PNG icons and XPM files
hand PNG files with hand-created 16 pixel icons
24pix This folder will get the 24 pixel PNG icons and XPM files
hand PNG files with hand-created 24 pixel icons
32pix This folder will get the 32 pixel PNG icons and XPM files. The XPM files will have the combined 16-, 24- and 32-pixel data in them.
hand PNG files with hand-created 32 pixel icons
svg This folder contains all the SVG files that will be processed into icons

About SvgToIcon

This is an internal utility to create the xpm and xbm include files that XTrackCAD uses to define icons in the program.

Other libraries

The Octree library used is here: https://github.com/JimBobSquarePants/ImageProcessor

License Information

To do...

Source: readme.md, updated 2021-12-29