unipdf
unipdf copied to clipboard
[FEATURE] Vectorized image from SVG file for use with creator
Is your feature request related to a problem? Please describe. The use case is to load an SVG vectorized graphic and display as a vectorized graphic in PDF. SVG is in many ways similar to the operands used in PDF content streams.
Describe the solution you'd like The SVG should be converted into a PDF content stream operands. It should be possible to apply basic transformations to it such as scaling, rotating (or apply a transformation matrix). It would behave similar to an image such that an absolute position could be set or relative mode used.
It would make sense to focus on a subset of SVG operators as the full set is quite extensive and some operators may not make sense in PDF.
Describe alternatives you've considered N/A
Additional context N/A