mirror of
https://forge.katzen.cafe/katzen-cafe/iowo.git
synced 2024-11-05 23:36:23 +01:00
3e208335c3
Very hacky, but this is enough to be finished with the graph IR for now.
18 lines
292 B
Plaintext
18 lines
292 B
Plaintext
(
|
|
instructions: {
|
|
0: Read((
|
|
source: File("testfiles/rails.png"),
|
|
format: 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)],
|
|
},
|
|
)
|