aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-08-05 00:27:19 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-08-05 00:27:45 +0900
commita4af73387ca8802b8b733ea43c3270103a7745e5 (patch)
treeb23203c47b1954895cbc36c58f000f5e0dd310a1 /README.md
parent8ea85b76e5858c2d205301fd02591c2a47cc088d (diff)
Fix README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files 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.