From a4af73387ca8802b8b733ea43c3270103a7745e5 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Mon, 5 Aug 2024 00:27:19 +0900 Subject: Fix README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7a19692..35cbc47 100644 --- a/README.md +++ b/README.md @@ -72,12 +72,12 @@ intensity, defaulting to 255 if not provided. Returns the maximum pixel intensity value for the specified PGM image. -#### `(image-ref image x y) → integer` +#### `(image-ref pgm-image x y) → integer` Returns the gray value of the pixel at coordinates `(x, y)` in the specified PGM image. The value is an integer between 0 and `maxval`. -#### `(image-set! image x y v)` +#### `(image-set! pgm-image x y v)` Sets the pixel at coordinates `(x, y)` in the specified PGM image to the given integer value `v`, which must be between 0 and `maxval`. @@ -90,7 +90,7 @@ Creates a new Portable Pixel Map (PPM) image with the specified width and height. The optional `maxval` parameter defines the maximum color intensity, defaulting to 255 if not provided. -#### `(image-maxval pgm-image) → integer` +#### `(image-maxval ppm-image) → integer` Returns the maximum color intensity value for the specified PPM image. -- cgit v1.2.3