Date: 09 Apr 1998 23:09:14 -0500 From: sfarrell+lists@farrell.org To: alk@pobox.com Cc: multimedia@FreeBSD.ORG Subject: Re: transparent color pixmaps Message-ID: <87vhsiqpw4.fsf@phaedrus.uchicago.edu> In-Reply-To: Tony Kimball's message of "Thu, 9 Apr 1998 20:21:36 -0500 (CDT)" References: <199804100121.UAA04789@pobox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tony Kimball <alk@pobox.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87vhsiqpw4.fsf>
