From ee5f32f7a959832e9bd2e26afca75687ed4e9cfd Mon Sep 17 00:00:00 2001 From: visionmercer <62051836+visionmercer@users.noreply.github.com> Date: Mon, 13 Jun 2022 13:17:01 +0200 Subject: [PATCH] Update savebinarypbm.bm --- savebinarypbm.bm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/savebinarypbm.bm b/savebinarypbm.bm index 2ac069e..e177939 100644 --- a/savebinarypbm.bm +++ b/savebinarypbm.bm @@ -21,7 +21,7 @@ Sub saveBinaryPBM (handle As Long, filename As String) Put #1, , header For y = 0 To imgheight - 1 For x = 0 To imgwidth - 1 - c = (Point(x, y) = _RGB32(0, 0, 0)) + c = (Point(x, y) = _RGB(0, 0, 0)) If c <> 0 Then outbyte = _SetBit(outbyte, 7 - (bytecount Mod 8)) Else