diff options
-rw-r--r-- | html/examples/process.lua | 2 | ||||
-rw-r--r-- | test/lua/process.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/html/examples/process.lua b/html/examples/process.lua index 5a32586..e942b27 100644 --- a/html/examples/process.lua +++ b/html/examples/process.lua @@ -47,4 +47,4 @@ replace:Save("lena_replace.jpg", "JPEG") local bitmask = image:Duplicate() im.ProcessBitMask(image, bitmask, "01111010", im.BIT_XOR) -replace:Save("lena_bitmask.jpg", "JPEG") +bitmask:Save("lena_bitmask.jpg", "JPEG") diff --git a/test/lua/process.lua b/test/lua/process.lua index 5a32586..e942b27 100644 --- a/test/lua/process.lua +++ b/test/lua/process.lua @@ -47,4 +47,4 @@ replace:Save("lena_replace.jpg", "JPEG") local bitmask = image:Duplicate() im.ProcessBitMask(image, bitmask, "01111010", im.BIT_XOR) -replace:Save("lena_bitmask.jpg", "JPEG") +bitmask:Save("lena_bitmask.jpg", "JPEG") |