iowo/testfiles/invert.ron

17 lines
288 B
Text

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