thorvg/meson_options.txt
JunsuChoi abe7187f5b
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.
2020-09-16 11:11:50 +09:00

29 lines
666 B
Meson

option('engines',
type: 'array',
choices: ['sw', 'gl'],
value: ['sw'],
description: 'Enable Rasterizer Engine in thorvg')
option('loaders',
type: 'array',
choices: ['', 'svg'],
value: ['svg'],
description: 'Enable Vector File Loader in thorvg')
option('vectors',
type: 'array',
choices: ['', 'avx'],
value: [''],
description: 'Enable CPU Vectorization(SIMD) in thorvg')
option('bindings',
type: 'array',
choices: ['', 'capi'],
value: ['capi'],
description: 'Enable C API binding')
option('utility',
type: 'array',
choices: ['', 'svg2png'],
value: ['svg2png'],
description: 'Enable building utilities')