From 9583278a82b9af4f892f081e583024fda6466ec1 Mon Sep 17 00:00:00 2001 From: Jackson Ming Hu Date: Mon, 14 Mar 2022 09:27:44 +1100 Subject: [PATCH] 1.0.3 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3650da4..1a8ef90 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,11 @@ Converts any image to 4-bit-per-pixel grayscale, with dithering to emulate 8-bit - `signal`: signal of `AbortController` ```ts -export function toMonochrome(image: Buffer): Promise +export function toMonochrome( + image: Buffer, + format?: string | undefined | null, + signal?: AbortSignal | undefined | null, +): Promise ``` Converts any image to 1-bit-per-pixel grayscale, with dithering to emulate 8-bit-per-pixel