summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-04-10 21:32:07 +0000
committerrodri <rgl@antares-labs.eu>2023-04-10 21:32:07 +0000
commit8420d3ad6929c2f6963bcef80797f8cc2b3d90f8 (patch)
treec689fe5e0500f88898ecd5987d19bc11d7638a80 /sys/man
parent60b1a2f82dc96b254d6dec1bfd1c14ca056c21dd (diff)
crop(1), memdraw(2): writememimage doesn't always write compressed images
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/1/crop3
-rw-r--r--sys/man/2/memdraw6
2 files changed, 9 insertions, 0 deletions
diff --git a/sys/man/1/crop b/sys/man/1/crop
index c1a676ce0..0959d4984 100644
--- a/sys/man/1/crop
+++ b/sys/man/1/crop
@@ -145,3 +145,6 @@ crop -c 255 255 255 -i -10 -b 255 150 150 imagefile > cropped
.I Iconv
should be able to do Floyd-Steinberg error diffusion or dithering
when converting to small image depths.
+.I Iconv
+won't always generate compressed images, see the BUGS section in
+.IR memdraw (2).
diff --git a/sys/man/2/memdraw b/sys/man/2/memdraw
index df29c3052..0500a561b 100644
--- a/sys/man/2/memdraw
+++ b/sys/man/2/memdraw
@@ -448,3 +448,9 @@ of hardware acceleration.
.I Memimagestring
is unusual in using a subfont rather than a font,
and in having no parameter to align the source.
+.I Writememimage
+won't write compressed images if the compressed block size of the
+resulting image is greater than 8000 bytes, in order to avoid
+exceeding the iounit when loading it into a
+.IR draw (3)
+device.