From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E25EE-0003vI-Ar for garchives@archives.gentoo.org; Mon, 08 Aug 2005 10:51:34 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78AnxL9013545; Mon, 8 Aug 2005 10:49:59 GMT Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j78Ajiem001592 for ; Mon, 8 Aug 2005 10:45:44 GMT Received: (qmail invoked by alias); 08 Aug 2005 10:46:01 -0000 Received: from 84-72-130-34.dclient.hispeed.ch (EHLO [127.0.0.1]) [84.72.130.34] by mail.gmx.net (mp005) with SMTP; 08 Aug 2005 12:46:01 +0200 X-Authenticated: #1076219 Message-ID: <42F737E7.5090303@gmx.ch> Date: Mon, 08 Aug 2005 12:45:59 +0200 From: Christoph Gysin User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050726) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] 16 colours xpm References: <200508071919.44936.uwix@iway.na> In-Reply-To: <200508071919.44936.uwix@iway.na> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Archives-Salt: 343e6c85-e2cc-4b17-8892-9850f0380462 X-Archives-Hash: 18ca3aeaf1b40ae0b6022017e96f1069 Uwe Thiem wrote: > Anybody in the know how to generate an xpm image with 16 colours and 1 > character per pixel? I mean other than using vi. ;-) Alternatively, > converting an image to that format would do for me. imagemagick is your friend :-) # emerge -avt imagemagick The following isn't tested, read the man page if it doesn't work... $ convert -size 800x600 -colors 16 -depth 8 image.png image.xpm Christoph -- echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3 -- gentoo-user@gentoo.org mailing list