implement invert instruction

This commit is contained in:
Schrottkatze 2024-01-01 21:18:56 +01:00
parent 2b3c74053e
commit e7863402f3
4 changed files with 50 additions and 13 deletions

13
testfiles/invert.rpl Normal file
View file

@ -0,0 +1,13 @@
(
[
Read((
source: File("/home/jade/example/file.png"),
format: Png
)),
Filter(Invert),
Write((
target: File("/home/jade/example/inverted.jpg"),
format: Jpeg
))
]
)