From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 24617 invoked from network); 9 Mar 2023 22:51:04 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 9 Mar 2023 22:51:04 -0000 Received: from wopr.sciops.net ([216.126.196.60]) by 9front; Thu Mar 9 17:49:39 -0500 2023 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1678402096; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to; bh=Dhq4ZoRu5rmpzVOnmtnSHliOkn+l9npIz+9FQUCk1O4=; b=JDF37avAsoQhMU7dNAqwo2BlJMyxAfb08rBEiwUcCISQSCKpE/T1t1/6ums7+4JwsEzLo/ KmFIUlgdqlANXqKWUGvKn+m7ue0wu3PM5XUGPYHtWxWbN7G8UJUyftj2SVh5G552pi3eZP leCZyuFJEw//iAGpGeoJw3AAfBq++Rw= Received: by wopr.sciops.net (OpenSMTPD) with ESMTPSA id a8195716 (TLSv1.2:ECDHE-RSA-CHACHA20-POLY1305:256:NO) for <9front@9front.org>; Thu, 9 Mar 2023 14:48:15 -0800 (PST) Message-ID: <3D2647805DEC5F6901B102152BED428F@wopr.sciops.net> Date: Thu, 09 Mar 2023 23:49:32 +0100 From: qwx@sciops.net To: 9front@9front.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: distributed JSON over TOR singleton module interface Subject: Re: [9front] page(1) invert colors Reply-To: 9front@9front.org Precedence: bulk The patch lives in my `patch' repo along with other questionable stuff [1]. Using an external tool is in line with other transforms page already does, I think it makes more sense, but such a tool must be imported first. Since it would be useful to have outside of page for image manipulation, I also think that that would be more useful than attempting ghostscript black magic. Technically, an implementation of pico (like [2]) can do that kind of stuff and might be neat to have; I am not really happy with my implementation and would have to revisit it first, but if there's interest, I can do that. Otherwise, iirc Sigrid also has some image filters that could be interesting, besides ifilter. Cheers, qwx [1] http://shithub.us/qwx/patch/a2261b507684fa6af14c42c5647401e29e617ff8/page-invert/raw [2] http://shithub.us/qwx/pico/HEAD/info.html