From owner-freebsd-multimedia Thu Apr 9 21:09:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA25529 for freebsd-multimedia-outgoing; Thu, 9 Apr 1998 21:09:22 -0700 (PDT) (envelope-from owner-freebsd-multimedia@FreeBSD.ORG) Received: from euthyphro.uchicago.edu (euthyphro.uchicago.edu [128.135.21.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA25523 for ; Thu, 9 Apr 1998 21:09:19 -0700 (PDT) (envelope-from sfarrell@phaedrus.uchicago.edu) Received: from phaedrus.uchicago.edu (phaedrus [128.135.21.10]) by euthyphro.uchicago.edu (8.8.6/8.8.4) with ESMTP id XAA23371; Thu, 9 Apr 1998 23:09:16 -0500 (CDT) Received: (from sfarrell@localhost) by phaedrus.uchicago.edu (8.8.8/8.8.5) id XAA23084; Thu, 9 Apr 1998 23:09:15 -0500 (CDT) To: alk@pobox.com Cc: multimedia@FreeBSD.ORG Subject: Re: transparent color pixmaps References: <199804100121.UAA04789@pobox.com> From: sfarrell+lists@farrell.org Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 09 Apr 1998 23:09:14 -0500 In-Reply-To: Tony Kimball's message of "Thu, 9 Apr 1998 20:21:36 -0500 (CDT)" Message-ID: <87vhsiqpw4.fsf@phaedrus.uchicago.edu> Lines: 48 X-Mailer: Gnus v5.6.3/XEmacs 20.3 - "Vatican City" Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Tony Kimball writes: > I'd post this to 'questions' but it's a black hole, and the Q is > marginally related to mm: What tool can be used to generate (paint) > color pixmaps with transparent bits, or for that matter, gifs with > transparent bits? vi for the former, and gimp for either. Here's an example pixmap (that "none" will be transparent): /* XPM */ static char *xemacs_16x16[] = { /* width height num_colors chars_per_pixel */ " 16 16 5 1", /* colors */ ". c none", "# c #2f4f4f", "a c #ffa500", "b c #808080", "c c #ffffff", /* pixels */ "................", "............#.#.", "..........a####.", "..............#.", "..............#.", "..........b...#.", ".b#############.", "...############.", ".b.c#c#########.", "...#cc#cc####c#.", ".b.############.", "...############.", ".b.###########..", ".........#a.....", ".b......#a.#....", "...........#...." }; --sf -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message