iowo/testfiles/invert.ron
2024-01-20 21:12:43 +01:00

18 lines
288 B
Plaintext

(
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)],
},
)