public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] 16 colours xpm
@ 2005-08-07 18:19 Uwe Thiem
  2005-08-08 10:45 ` Christoph Gysin
  2005-08-08 17:50 ` Paul Raison
  0 siblings, 2 replies; 6+ messages in thread
From: Uwe Thiem @ 2005-08-07 18:19 UTC (permalink / raw
  To: gentoo-user

Anybody in the know how to generate an xpm image with 16 colours and 1 
character per pixel? I mean other than using vi. ;-) Alternatively, 
converting an image to that format would do for me.

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] 16 colours xpm
  2005-08-07 18:19 [gentoo-user] 16 colours xpm Uwe Thiem
@ 2005-08-08 10:45 ` Christoph Gysin
  2005-08-08 12:56   ` Uwe Thiem
  2005-08-10  2:00   ` Ow Mun Heng
  2005-08-08 17:50 ` Paul Raison
  1 sibling, 2 replies; 6+ messages in thread
From: Christoph Gysin @ 2005-08-08 10:45 UTC (permalink / raw
  To: gentoo-user

Uwe Thiem wrote:
> Anybody in the know how to generate an xpm image with 16 colours and 1 
> character per pixel? I mean other than using vi. ;-) Alternatively, 
> converting an image to that format would do for me.

imagemagick is your friend :-)

# emerge -avt imagemagick

The following isn't tested, read the man page if it doesn't work...

$ convert -size 800x600 -colors 16 -depth 8 image.png image.xpm

Christoph
-- 
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] 16 colours xpm
  2005-08-08 10:45 ` Christoph Gysin
@ 2005-08-08 12:56   ` Uwe Thiem
  2005-08-10  2:00   ` Ow Mun Heng
  1 sibling, 0 replies; 6+ messages in thread
From: Uwe Thiem @ 2005-08-08 12:56 UTC (permalink / raw
  To: gentoo-user

On 08 August 2005 11:45, Christoph Gysin wrote:
> Uwe Thiem wrote:
> > Anybody in the know how to generate an xpm image with 16 colours and 1
> > character per pixel? I mean other than using vi. ;-) Alternatively,
> > converting an image to that format would do for me.
>
> imagemagick is your friend :-)
>
> # emerge -avt imagemagick
>
> The following isn't tested, read the man page if it doesn't work...
>
> $ convert -size 800x600 -colors 16 -depth 8 image.png image.xpm

Thanks you!

Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] 16 colours xpm
  2005-08-07 18:19 [gentoo-user] 16 colours xpm Uwe Thiem
  2005-08-08 10:45 ` Christoph Gysin
@ 2005-08-08 17:50 ` Paul Raison
  2005-08-09 12:06   ` Uwe Thiem
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Raison @ 2005-08-08 17:50 UTC (permalink / raw
  To: gentoo-user

Use The GIMP

Uwe Thiem wrote:

>Anybody in the know how to generate an xpm image with 16 colours and 1 
>character per pixel? I mean other than using vi. ;-) Alternatively, 
>converting an image to that format would do for me.
>
>Uwe
>
>  
>
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] 16 colours xpm
  2005-08-08 17:50 ` Paul Raison
@ 2005-08-09 12:06   ` Uwe Thiem
  0 siblings, 0 replies; 6+ messages in thread
From: Uwe Thiem @ 2005-08-09 12:06 UTC (permalink / raw
  To: gentoo-user

On 08 August 2005 18:50, Paul Raison wrote:
> Use The GIMP

I solved it with "convert" from ImageMagick as pointed out by someone else.

Tell me, how to you tell The GIMP to save as xpm with 16 colours and one 
character per pixel? It simply doesn't do it. :-(

Uwe

>
> Uwe Thiem wrote:
> >Anybody in the know how to generate an xpm image with 16 colours and 1
> >character per pixel? I mean other than using vi. ;-) Alternatively,
> >converting an image to that format would do for me.
> >
> >Uwe

-- 
95% of all programmers rate themselves among the top 5% of all software 
developers. - Linus Torvalds

http://www.uwix.iway.na (last updated: 20.06.2004)
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] 16 colours xpm
  2005-08-08 10:45 ` Christoph Gysin
  2005-08-08 12:56   ` Uwe Thiem
@ 2005-08-10  2:00   ` Ow Mun Heng
  1 sibling, 0 replies; 6+ messages in thread
From: Ow Mun Heng @ 2005-08-10  2:00 UTC (permalink / raw
  To: gentoo-user

On Mon, 2005-08-08 at 12:45 +0200, Christoph Gysin wrote:
> Uwe Thiem wrote:
> > Anybody in the know how to generate an xpm image with 16 colours and 1 
> > character per pixel? I mean other than using vi. ;-) Alternatively, 
> > converting an image to that format would do for me.
> 
> imagemagick is your friend :-)
> 
> # emerge -avt imagemagick
> 
> The following isn't tested, read the man page if it doesn't work...
> 
> $ convert -size 800x600 -colors 16 -depth 8 image.png image.xpm

-size doesn't work. Had to use -scale

just FYI

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 09:59:34 up 3 days, 20:34, 9 users, load average: 0.29,
0.36, 0.61 


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-08-10  2:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-07 18:19 [gentoo-user] 16 colours xpm Uwe Thiem
2005-08-08 10:45 ` Christoph Gysin
2005-08-08 12:56   ` Uwe Thiem
2005-08-10  2:00   ` Ow Mun Heng
2005-08-08 17:50 ` Paul Raison
2005-08-09 12:06   ` Uwe Thiem

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox