mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-07 21:23:32 +00:00

* 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.
29 lines
666 B
Meson
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')
|