ref: 8420d3ad6929c2f6963bcef80797f8cc2b3d90f8
parent: 60b1a2f82dc96b254d6dec1bfd1c14ca056c21dd
author: rodri <rgl@antares-labs.eu>
date: Mon Apr 10 17:32:07 EDT 2023
crop(1), memdraw(2): writememimage doesn't always write compressed images
--- a/sys/man/1/crop
+++ b/sys/man/1/crop
@@ -145,3 +145,6 @@
.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).
--- a/sys/man/2/memdraw
+++ b/sys/man/2/memdraw
@@ -448,3 +448,9 @@
.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.