Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

Png2Svg

Png to pixel-perfect svg conversion class for Delphi.

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

Png2Svg

Png to pixel-perfect svg conversion class for Delphi.

Png

Svg

Command line

Usage

pascal
png2svg [-ia][-log][-nm][-m][-o][-p] <png filename|directory> [<svg filename|directory>]

Params

Param Description
-ia Ignore alpha channel
-log Show log
-nm No pixel merge
-m Minify
-o Output svg
-p Use path element

Examples

Command Description
png2svg "C:\pngs\Example.png" Converts "C:\pngs\Example.png" to "C:\pngs\Example.svg"
png2svg "C:\pngs\Example.png" "C:\svgs\Named.svg" Converts "C:\pngs\Example.png" to "C:\svgs\Named.svg"
png2svg "C:\pngs\Example.png" Test.svg Converts "C:\pngs\Example.png" to "C:\pngs\Test.svg"
png2svg Example.png Converts Example.png in current directory to Example.svg
png2svg "C:\pngs\" Converts all png files in the "C:\pngs\" directory with svg extension
png2svg "C:\pngs\" svgs Converts all png files from directory "C:\pngs\" to directory "C:\pngs\svgs\" with svg extension
png2svg "C:\pngs\" "C:\svgs\" Converts all png files from directory "C:\pngs\" to directory "C:\svgs\" with svg extension

License

MIT

Connect

https://www.linkedin.com/in/lassemarkusrautiainen/

Donations

https://ko-fi.com/texteditorpro