1 |
On Mon, 2005-08-08 at 12:45 +0200, Christoph Gysin wrote: |
2 |
> Uwe Thiem wrote: |
3 |
> > Anybody in the know how to generate an xpm image with 16 colours and 1 |
4 |
> > character per pixel? I mean other than using vi. ;-) Alternatively, |
5 |
> > converting an image to that format would do for me. |
6 |
> |
7 |
> imagemagick is your friend :-) |
8 |
> |
9 |
> # emerge -avt imagemagick |
10 |
> |
11 |
> The following isn't tested, read the man page if it doesn't work... |
12 |
> |
13 |
> $ convert -size 800x600 -colors 16 -depth 8 image.png image.xpm |
14 |
|
15 |
-size doesn't work. Had to use -scale |
16 |
|
17 |
just FYI |
18 |
|
19 |
-- |
20 |
Ow Mun Heng |
21 |
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM |
22 |
98% Microsoft(tm) Free!! |
23 |
Neuromancer 09:59:34 up 3 days, 20:34, 9 users, load average: 0.29, |
24 |
0.36, 0.61 |
25 |
|
26 |
|
27 |
-- |
28 |
gentoo-user@g.o mailing list |