nanogui: convbmp and GR_BITMAP vs.MWUCHAR


Previous by date: 7 May 2004 10:15:48 +0100 convbmp and GR_BITMAP vs.MWUCHAR, tj
Next by date: 7 May 2004 10:15:48 +0100 How to combine regions, union or xor or etc, tj
Previous in thread: 7 May 2004 10:15:48 +0100 convbmp and GR_BITMAP vs.MWUCHAR, tj
Next in thread:

Subject: Re: [nanogui] convbmp and GR_BITMAP vs.MWUCHAR
From: Alex Holden ####@####.####
Date: 7 May 2004 10:15:48 +0100
Message-Id: <409B53A4.5070707@linuxhacker.org>

tj wrote:
> GrNewBitmapRegion() requires a pointer to GR_BITMAP. So, how do you get 
> GR_BITMAP out of convbmp?

I think I used convpbm (in demos/nanox) to make tuxmask.h and the 
bitmaps in nxeyes.h actually. It has a bug that causes it to create 
header files that claim they were created by convbmp. You can make a PBM 
file using something like:
jpegtopnm input.jpg | ppmtopgm | pgmtopbm > output.pbm

You'll need the netpbm tools installed to do that.

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

Previous by date: 7 May 2004 10:15:48 +0100 convbmp and GR_BITMAP vs.MWUCHAR, tj
Next by date: 7 May 2004 10:15:48 +0100 How to combine regions, union or xor or etc, tj
Previous in thread: 7 May 2004 10:15:48 +0100 convbmp and GR_BITMAP vs.MWUCHAR, tj
Next in thread:


Powered by ezmlm-browse 0.20.