ThorVG/Utils: Convert svg to png (#8)
authorJunsuChoi <jsuya.choi@samsung.com>
Wed, 16 Sep 2020 02:11:50 +0000 (11:11 +0900)
committerHermet Park <chuneon.park@samsung.com>
Wed, 16 Sep 2020 02:29:09 +0000 (11:29 +0900)
commit2d538325fcc30b141558a8376a7af7cd46780922
treebde34ef89f5cd262b9919f8a6e31e06603a6a9e9
parent7f7e6b82669828e89f6f4d963a601b18002a9a14
ThorVG/Utils: Convert svg to png (#8)

* thorVG/example: added thorVG example app to convert svg to png

Rasterazing the svg file and extracting it as a png file.
The png encoder uses the 'lodepng' library.
(https://lodev.org/lodepng/)

Usage:
   svg2png [svgFileName] [Resolution] [bgColor]

Examples:
    $ svg2png input.svg
    $ svg2png input.svg 200x200
    $ svg2png input.svg 200x200 ff00ff

* ThorVG/Utils: Change examples to utils

* ThorVG/Utils: Move svg2png from util to src/bin

Renamed the build option for svg2png.

Change-Id: Ifa4f3bfc94c1df2f6e207b07ad523a882e754886
meson_options.txt
src/bin/meson.build [new file with mode: 0644]
src/bin/svg2png/lodepng.cpp [new file with mode: 0644]
src/bin/svg2png/lodepng.h [new file with mode: 0644]
src/bin/svg2png/meson.build [new file with mode: 0644]
src/bin/svg2png/svg2png.cpp [new file with mode: 0644]
src/meson.build