Re: [fltk.development] use YUV data as FLTK image

2009-11-11 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Dear All, > As I know, fltk can take bmp, xpm, jpg, png format picture as > it's accept image. Now I want to transfer a YUV data as the > FLTK image. how can I do? You will need to write some code (or use google to find some code - there is plenty out there) that can convert the YUV data int

[fltk.development] use YUV data as FLTK image

2009-11-10 Thread leowang
Dear All, As I know, fltk can take bmp, xpm, jpg, png format picture as it's accept image. Now I want to transfer a YUV data as the FLTK image. how can I do? I try to rename a YUV data to a bmp suffix, such as yuv.bmp, and add a bmp header to this file, then transfer this image to SharedImage: