mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
39 lines
2.2 KiB
TOML
39 lines
2.2 KiB
TOML
[general]
|
|
folder_with_files_to_check = "FilesToTest"
|
|
problematic_files_path = "ProblematicSVG" # Where to store problematic files, in which conversion failed(e.g. due program crash)
|
|
output_folder = "BrokenSVG" # Place where to save files(Input and output that show differences)
|
|
ignored_files_path = "IgnoredSVG" # Place where to save ignored files
|
|
timeout = 120
|
|
limit_threads = 0 # 0 will use all available threads
|
|
px_size_of_generated_file = 400
|
|
ignore_conversion_step = false # Ignore step with conversion files from svg to png, just compare files
|
|
ignore_similarity_checking_step = false # Useful to finding problems with generating files
|
|
ignore_thorvg_not_supported_items = true # Thorvg not supports files with text, filters
|
|
max_difference = 5 # Bigger similarity will show only broken files that are completely different, looks that 0-100 is quite reasonable range
|
|
limit_files = 0 # Limit checked files, useful if you are just wanting to check how app works, 0 will remove limit of checked files
|
|
remove_files_from_output_folder_at_start = true # Useful if you run app with different settings and you don't want to remove files one by one
|
|
debug_show_always_output = false # Allows to find broken files
|
|
return_error_when_finding_invalid_files = false # When finding invalid files(broken or problematic) app will close with status 1
|
|
remove_problematic_files_after_copying = false # Remove from output folder problematic svg files
|
|
remove_broken_files_after_copying = false # Remove from output folder broken svg files
|
|
remove_ignored_files_after_copying = false # Removes not supported folders after copying
|
|
remove_generated_png_files_at_end = false # Remove all png from output folder at end
|
|
lottie_path = ""
|
|
lottie_broken_files_path = ""
|
|
lottie_test = false
|
|
thorvg_path = "./build/src/tools/svg2png/svg2png"
|
|
thorvg_broken_files_path = "BrokenFILES"
|
|
thorvg_test = true
|
|
|
|
[first_tool]
|
|
name = "thorvg_pr"
|
|
path = "./build/src/tools/svg2png/svg2png"
|
|
png_name_ending = "_thorvg_pr.png"
|
|
arguments = "{FILE} -r {SIZE}x{SIZE} -b ffffff"
|
|
|
|
[other_tool]
|
|
name = "thorvg_develop"
|
|
path = "./thorvg_develop/build/src/tools/svg2png/svg2png"
|
|
png_name_ending = "_thorvg_develop.png"
|
|
arguments = "{FILE} -r {SIZE}x{SIZE} -b ffffff"
|
|
|