nanogui: getting for jpeg to pbm for convpbm


Previous by date: 25 May 2004 10:01:47 +0100 non-rectangular window drawing problem, tj
Next by date: 25 May 2004 10:01:47 +0100 Re: getting for jpeg to pbm for convpbm, tj
Previous in thread: 25 May 2004 10:01:47 +0100 getting for jpeg to pbm for convpbm, tj
Next in thread: 25 May 2004 10:01:47 +0100 Re: getting for jpeg to pbm for convpbm, tj

Subject: Re: [nanogui] getting for jpeg to pbm for convpbm
From: Alex Holden ####@####.####
Date: 25 May 2004 10:01:47 +0100
Message-Id: <40B30B60.4060205@linuxhacker.org>

tj wrote:
> A while back, somebody posted a string of commands to get from a jpeg to 
> a .pbm file that can be used by convpbm.
> Could somebody supply that to me

jpegtopnm input.jpg | ppmtopgm | pgmtopbm > output.pbm

If you're making a mask for a shaped window, the input image should be 
black and white only and preferably a simple block outline- greys and 
colours will get dithered into complex stipple patterns which will lead 
to extremely complex window regions that use lots of memory and cpu.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer

Previous by date: 25 May 2004 10:01:47 +0100 non-rectangular window drawing problem, tj
Next by date: 25 May 2004 10:01:47 +0100 Re: getting for jpeg to pbm for convpbm, tj
Previous in thread: 25 May 2004 10:01:47 +0100 getting for jpeg to pbm for convpbm, tj
Next in thread: 25 May 2004 10:01:47 +0100 Re: getting for jpeg to pbm for convpbm, tj


Powered by ezmlm-browse 0.20.