From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laura Lazzati Subject: Re: Inverting command line session colours Date: Fri, 8 Feb 2019 19:53:50 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsF2T-0004r7-5B for guix-devel@gnu.org; Fri, 08 Feb 2019 17:54:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsF2S-0006Xe-KT for guix-devel@gnu.org; Fri, 08 Feb 2019 17:54:29 -0500 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:47085) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gsF2S-0006Wr-CG for guix-devel@gnu.org; Fri, 08 Feb 2019 17:54:28 -0500 Received: by mail-pf1-x435.google.com with SMTP id c73so2333195pfe.13 for ; Fri, 08 Feb 2019 14:54:28 -0800 (PST) In-Reply-To: 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?G=C3=A1bor_Boskovits?= Cc: Guix-devel Hi! > convert xyz.ps -background white -flatten -negate xyz.png I had already tried the -negate before but didn't work, I only got full white pngs (the text turned white) I am running imagemagick 6.9.10-14 this is the rule: -------------starts---------------- (VIDEO)/$(LOCALE_LANG)/out/$(SESSION)-%.png: $(VIDEO)/$(LOCALE_LANG)/out/$(SESSION)-%.txt tail -n 20 $< | \ paps --landscape --columns=80 --font "Monospace 20" | \ convert -density 128 \ -fill black \ -background white \ -flatten \ -rotate 90 \ -delete 0--2 - $@ -------ends-------------------