iowo/testfiles/invert.ron
Schrottkatze d79383a7df
cleanup: remove unneeded source format in read instruction
The image crate is able to infer the format, so that data is redundant
2024-01-23 12:40:25 +01:00

16 lines
276 B
Text

(
instructions: {
0: Read((
source: File("testfiles/rails.png"),
)),
1: Filter(Invert),
2: Write((
target: File("testfiles/gen/inverted.png"),
format: Png,
)),
},
edges: {
(on: 0, idx: 0): [(on: 1, idx: 0)],
(on: 1, idx: 0): [(on: 2, idx: 0)],
},
)