Re: help on RGB to jpeg



simith nambiar wrote:

> hi
>   does anyone know of a library for converting RGB24
> data into jpeg for Linux.
> can that be done using gtk only ?
> please help,
> thanx in advance,
> simith
>
> =====
> /********************************************************/
> "The GOOD thing about BAD things is that they END,
>  the BAD thing about GOOD things is they also END"
>
>  - Simith Nambiar ;-)
>    mca mit
> /********************************************************/
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list

You can use libjpeg.a in /usr/lib/.
An reference is http://sourceforge.net/projects/motion/.

If you really want to build your own library, you need to change RGB24
into YUV image format.
Then, compress image data into jpeg format.

To display image into a screen, then you may need Gtk.

--
Dr. Bokyun Na




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]