[maemo-developers] How to create a BMP image using c or python

From: dongmei zhou dongmeizhou2008 at gmail.com
Date: Mon Feb 23 14:37:01 EET 2009
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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20090223/af2dfc4c/attachment.htm 
More information about the maemo-developers mailing list