[maemo-developers] How to create a BMP image using c or python
From: Simon Pickering S.G.Pickering at bath.ac.ukDate: Mon Feb 23 15:00:30 EET 2009
- Previous message: How to create a BMP image using c or python
- Next message: How to create a BMP image using c or python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Look at this: http://maemo.org/development/documentation/manuals/4-0-x/how_to_use_came ra_api/ You can replace the create_jpeg() fn with one that does what you want with the buffer of raw data that is passed to it. Simon > -----Original Message----- > From: dongmei zhou [mailto:dongmeizhou2008 at gmail.com] > Sent: 23 February 2009 12:37 > To: Simon Pickering > Cc: maemo-developers at maemo.org > Subject: Re: How to create a BMP image using c or python > > > hi All, > > Thank you for your tips and I want to add a point that > I want to get BMP file form N800 camera,You know that we > can get jpeg file through Gstreamer got from N800 Camera, > what about BMP file? > > > > 2009/2/23 Simon Pickering <S.G.Pickering at bath.ac.uk> > > > > hi All, > I know that Jpeg image can be created > with Gstreamer , while how to > create a BMP format image by c or python? > Any help would be appreciated, thanks in advance! > > > > Google? A bitmap is just a header followed by the data > (which can just be raw data if you don't want to implement RLE code). > > E.g. format of the file: > http://en.wikipedia.org/wiki/Windows_bitmap > > and here's an implementation that you could copy and > change: > http://cpansearch.perl.org/src/DHUNT/PDL-Planet-0.05/libimage/bmp.c > > All you need is some data and stdio.h > > Cheers, > > > Simon > > > > > > > > -- > BRS! > Thanks! > >
- Previous message: How to create a BMP image using c or python
- Next message: How to create a BMP image using c or python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]