Skip to content

Commit

Permalink
Merge pull request #7960 from radarhere/selftest
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Apr 9, 2024
2 parents 33a73b5 + 3a92d4a commit 955c5da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion selftest.py
Expand Up @@ -139,7 +139,9 @@ def testimage() -> None:
In 1.1.6, you can use the ImageMath module to do image
calculations.
>>> im = ImageMath.eval("float(im + 20)", im=im.convert("L"))
>>> im = ImageMath.lambda_eval( \
lambda args: args["float"](args["im"] + 20), im=im.convert("L") \
)
>>> im.mode, im.size
('F', (128, 128))
Expand Down

0 comments on commit 955c5da

Please sign in to comment.