EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

conversion from JPEG to RGB

Started by najafa August 10, 2010
Hi,

I need to write a c code in Linux to convert video data from JPEG to RGB in
order to display on an LCD. Been searching but I can't find any helpful
leads. 

Any helpful suggestion is most welcomed.

Thanks in advance

	   
					
---------------------------------------		
Posted through http://www.EmbeddedRelated.com
On Aug 10, 9:50=A0am, "najafa" <nabakah@n_o_s_p_a_m.gmail.com> wrote:

> I need to write a c code in Linux to convert video data from JPEG to RGB =
in
> order to display on an LCD. Been searching but I can't find any helpful
No, you don't. The reference implementation that everyone uses is http://www.ijg.org/. If you are working in Linux I'd suggest using SDL, which would mean you don't need to go back to the primary sources; use http://www.libsdl.org/projects/SDL_image/. Putting an image up onscreen is a few lines of code.
On 10 Ago, 15:50, "najafa" <nabakah@n_o_s_p_a_m.gmail.com> wrote:
> Hi, > > I need to write a c code in Linux to convert video data from JPEG to RGB in > order to display on an LCD. Been searching but I can't find any helpful > leads. > > Any helpful suggestion is most welcomed.
libjpeg openmotif sdl (as already said) gtk Bye Jack
>On Aug 10, 9:50=A0am, "najafa" <nabakah@n_o_s_p_a_m.gmail.com> wrote: > >> I need to write a c code in Linux to convert video data from JPEG to RGB
=
>in >> order to display on an LCD. Been searching but I can't find any helpful > >No, you don't. The reference implementation that everyone uses is >http://www.ijg.org/. If you are working in Linux I'd suggest using >SDL, which would mean you don't need to go back to the primary >sources; use http://www.libsdl.org/projects/SDL_image/. Putting an >image up onscreen is a few lines of code. >
Thanks so much larwe. Thats good news to me. I will check them out. Really appreciate it. --------------------------------------- Posted through http://www.EmbeddedRelated.com
>On 10 Ago, 15:50, "najafa" <nabakah@n_o_s_p_a_m.gmail.com> wrote: >> Hi, >> >> I need to write a c code in Linux to convert video data from JPEG to RGB
in
>> order to display on an LCD. Been searching but I can't find any helpful >> leads. >> >> Any helpful suggestion is most welcomed. > >libjpeg >openmotif >sdl (as already said) >gtk > >Bye Jack >
Thanks Jack. Really appreciate your help. working on it now. --------------------------------------- Posted through http://www.EmbeddedRelated.com
najafa skrev:
>> On 10 Ago, 15:50, "najafa" <nabakah@n_o_s_p_a_m.gmail.com> wrote: >>> Hi, >>> >>> I need to write a c code in Linux to convert video data from JPEG to RGB > in >>> order to display on an LCD. Been searching but I can't find any helpful >>> leads. >>> >>> Any helpful suggestion is most welcomed. >> libjpeg >> openmotif >> sdl (as already said) >> gtk >> >> Bye Jack >> > > Thanks Jack. Really appreciate your help. working on it now. > > --------------------------------------- > Posted through http://www.EmbeddedRelated.com
I think that "fbv" is a useful linux application for such jobs. -- Best Regards Ulf Samuelsson These are my own personal opinions, which may or may not be shared by my employer Atmel Nordic AB
>najafa skrev: >>> On 10 Ago, 15:50, "najafa" <nabakah@n_o_s_p_a_m.gmail.com> wrote: >>>> Hi, >>>> >>>> I need to write a c code in Linux to convert video data from JPEG to
RGB
>> in >>>> order to display on an LCD. Been searching but I can't find any
helpful
>>>> leads. >>>> >>>> Any helpful suggestion is most welcomed. >>> libjpeg >>> openmotif >>> sdl (as already said) >>> gtk >>> >>> Bye Jack >>> >> >> Thanks Jack. Really appreciate your help. working on it now. >> >> --------------------------------------- >> Posted through http://www.EmbeddedRelated.com > >I think that "fbv" is a useful linux application for such jobs. > >-- >Best Regards >Ulf Samuelsson >These are my own personal opinions, which may >or may not be shared by my employer Atmel Nordic AB
Thanks Ulf.
>
--------------------------------------- Posted through http://www.EmbeddedRelated.com

The 2024 Embedded Online Conference