Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manisandro/svg2svgt
Library and tools to convert SVG to SVG Tiny
https://github.com/manisandro/svg2svgt
cplusplus qt svg
Last synced: 3 months ago
JSON representation
Library and tools to convert SVG to SVG Tiny
- Host: GitHub
- URL: https://github.com/manisandro/svg2svgt
- Owner: manisandro
- License: other
- Fork: true (ltomuta/svg-converter)
- Created: 2017-08-28T17:44:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-09T10:55:04.000Z (almost 3 years ago)
- Last Synced: 2024-08-04T05:01:30.529Z (6 months ago)
- Topics: cplusplus, qt, svg
- Language: C++
- Homepage:
- Size: 7.54 MB
- Stars: 15
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.LGPL
Awesome Lists containing this project
README
Svg2SvgT
========Library and tools to convert SVG images to SVG Tiny, the subset of SVG implemented by QtSvg.
This is a fork of the stale https://github.com/microsoft-mobile/svg-converter, with the following improvements:
* CMake used as build system
* Builds with Qt5
* Provides a shared library
* Conformance to FHS for easy packagingUsage:
------Minimal library usage example:
#include
#include
#include
svg2svgt::Logger logger;
svg2svgt::RuleEngine ruleEngine(logger);
ruleEngine.setDefaultRules();
svg2svgt::ProcessorEngine processor(ruleEngine, logger);
QByteArray inputSvg = /* ... */;
QByteArray outputSvgT = processor.process(inputSvg);See also [cli/main.cpp](https://github.com/manisandro/svg2svgt/blob/master/cli/main.cpp).