Re: How to convert a .jpg file to a RGB format

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

 



On Mon, Oct 23, 2000 at 07:20:50PM -0400, Vinhthuy T Phan wrote:
>To the people who have suggested jpeblib, what keywords or procedures I
>should look for in the jpeg manual?  I skimmed through the manual the
>couldn't find a specific section that details on how to convert an image
>to a RGB-array.  Thanks again.

Check example.c (included with libjpeg). It gives an example for how you
easily (row by row) can read almost any standard JPEG file, and get raw
RGB data into an array.

/* Steinar */


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux