Mailinglist Archive: opensuse-de (2713 mails)

< Previous Next >
Re: [OT] Suche altes Grafikformat
  • From: Wolf-Rüdiger Jürgens <wrj-lists@xxxxxxxxxxx>
  • Date: Sun, 3 Jul 2005 10:38:17 +0200
  • Message-id: <200507031038.17226.wrj-lists@xxxxxxxxxxx>
Felix Nawroth wrote:

> Das ganze hat folgendes Aussehen: Die 16-Farben-Grafik wird in
> ascii beschrieben. Im Header werden den Hex-Zahlen 0 bis F
> RGB-Werte zugewiesen, außerdem legt man noch die Zahl der Pixel pro
> Zeile fest.

Könnte es das xpm Format sein?
http://koala.ilog.fr/lehors/xpm.html

z.Bsp:

/* XPM */
static char * roundb_xpm[] = {
/* width height ncolors cpp [x_hot y_hot] */
"13 13 5 2 7 7",
/* colors */
" s none m none c none",
". s topShadowColor m white c lightblue",
"X s iconColor1 m black c black",
"o s bottomShadowColor m black c #646464646464",
"O s selectColor m white c red",
/* pixels */
" ",
" . . . ",
" . . X X X o o ",
" . X X X X X X X o ",
" . X X X X X X X o ",
" . X X X X O X X X X o ",
" . X X X O O O X X X o ",
" . X X X X O X X X X o ",
" . X X X X X X X o ",
" . X X X X X X X o ",
" o o X X X o o ",
" o o o ",
" "
};

Grüße
Wolf
--
* Registered Linux user #37136 http://counter.li.org
* SL 9.3, Ubuntu 5.04, AMD Sempron 2800+, SIS 748
* Matrox MGA-450, 1GB/240GB, SB Audigy 2 ZS

< Previous Next >
Follow Ups