git: 9front

Download patch

ref: 4127edf657977213134d2e21e24dc25665e3783c
parent: 01d72e547c38c856cecae2821cd0f1aa9f57a20c
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.
--