table of contents
- testing 4.16.7+ds-1
- unstable 4.16.12+ds-1
- experimental 4.17.1+ds-2
GTK4-RENDERNODE-TOOL(1) | GTK commands | GTK4-RENDERNODE-TOOL(1) |
NAME¶
gtk4-rendernode-tool - GskRenderNode Utility
SYNOPSIS¶
gtk4-rendernode-tool <COMMAND> [OPTIONS...] <FILE> gtk4-rendernode-tool benchmark [OPTIONS...] <FILE> gtk4-rendernode-tool compare [OPTIONS...] <FILE1> <FILE2> gtk4-rendernode-tool extract [OPTIONS...] <FILE> gtk4-rendernode-tool info [OPTIONS...] <FILE> gtk4-rendernode-tool render [OPTIONS...] <FILE> [<FILE>] gtk4-rendernode-tool show [OPTIONS...] <FILE>
DESCRIPTION¶
gtk4-rendernode-tool can perform various operations on serialized rendernodes.
COMMANDS¶
Information¶
The info command shows general information about the rendernode, such as the number of nodes, and the depth of the tree.
Showing¶
The show command displays the rendernode.
--undecorated
Removes window decorations. This is meant for rendering of exactly the rendernode without any titlebar.
Rendering¶
The render command saves a rendering of the rendernode as a png, tiff or svg image or as pdf document. The name of the file to write can be specified as a second FILE argument.
--renderer=RENDERER
Benchmark¶
The benchmark command benchmarks rendering of a node with the existing renderers and prints the runtimes.
--renderer=RENDERER
--runs=RUNS
--no-download
Compare¶
The compare command compares the rendering of a node with a reference image, or the renderings of two nodes, or two images. If any differences are found, the exit code is 1. If the images are identical, it is 0.
--renderer=RENDERER
--output=FILE
--quiet
Extract¶
The extract command saves all the data urls found in a node file to a given directory. The file names for the extracted files are derived from the mimetype of the url.
--dir=DIRECTORY
GTK |