From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Inverting command line session colours Date: Sat, 09 Feb 2019 11:55:04 +0100 Message-ID: <8736oxmdtj.fsf@elephly.net> References: <20190209004421.51d79015@alma-ubu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsQIC-0003qc-G1 for guix-devel@gnu.org; Sat, 09 Feb 2019 05:55:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsQI4-0005L0-LS for guix-devel@gnu.org; Sat, 09 Feb 2019 05:55:24 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21137) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsQI0-00059R-KB for guix-devel@gnu.org; Sat, 09 Feb 2019 05:55:17 -0500 In-reply-to: <20190209004421.51d79015@alma-ubu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Cc: Guix-devel Bj=C3=B6rn H=C3=B6fling writes: > Conclusion: As a quick workaround, you can add another pipe and use > convert twice. > > But there should be a way to do it in one way. ImageMagick is a bit > tricky in that. I have no idea for now. My guess is that it doesn=E2=80=99t work the first time around because the background is in fact transparent. I recommend not to waste time on this as colour management will be overhauled eventually anyway. With the use of Pango markup to specify text colours you probably don=E2=80=99t want to invert the colours. --=20 Ricardo