Skip to content

Small test program to render SVG to PNG with ID2D1SvgDocument

License

Notifications You must be signed in to change notification settings

karip/direct2d-svg-to-png

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Direct2D SVG to PNG Renderer

Converts SVG files to PNG files using Direct2D SVG Renderer and ID2D1SvgDocument.

This command line tool is used to test Direct2D SVG rendering.

Building

Build commands for MSVC 2019 (in Windows Command Prompt):

cl /nologo /c /Od /W4 /WX /EHsc d2dsvg2png-tester.cpp
link /nologo /WX d2dsvg2png-tester.obj d2d1.lib windowscodecs.lib ole32.lib shlwapi.lib /OUT:d2dsvg2png-tester.exe

Running

To convert SVG to PNG:

d2dsvg2png-tester input.svg output.png

About

Small test program to render SVG to PNG with ID2D1SvgDocument

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%