Images - problem solved
| From: | Adam Rambousek | Date: | Sun, 15 Apr 2001 08:43:10 +0000 |
| Subject: | Images - problem solved | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-1407@lists.php.net to get a copy of this message | ||
thanks a lot
problem solved :)
when I converted image to xpm using windows ImageMagick, color definiton looked
like this:
" c #ffffffffffff0075",
". c #3737d4d437370000",
"X c #79798484b8b80000",
"o c #5b5b666695950000",
and the image was displayed in b/w
in the image Anders sent me, the color definition looked like this:
". c #ffffff",
"# c #ffff00",
"a c #ff00ff",
"b c #ff0000",
and the image was displayed in colors
so I edited my converted xpm and changed the color definition to this:
" c #ffffff",
". c #37d437",
"X c #7984b8",
"o c #5b6695",
AND THE IMAGE WAS DISPLAYED IN COLORS!! :-)))
so I suppose it's Windows problem after all
> There you go (=
> //Anders 'SpaceDump' Olausson
--
Adam Rambousek
email: rambousek@volny.cz PGP KeyID: 33BD6BAE ICQ: 47596279
www: http://adamovy.cestiny.cz http://werich.poda.cz http://rambousek.com
* Spatnostem se lze naucit i bez ucitele. - Seneca