Skip to content

dmaclach/svg2pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

svg2pdf

This is a simple wrapper around CoreSVG's CGSVGDocumentCreateFromData and CGContextDrawSVGDocument.

It maintains the vectors as opposed to rasterizing the image.

Caution

This uses private APIs (at least as of macOS 26) so please don't attempt to distribute this without giving users appropriate caveats.

Usage:

  svg2pdf <input> <output>

Building

Assuming you have Xcode installed, run make.sh.

About

Converts SVG files to PDF files.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Contributors