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
Thank you all for your responses. My project is under RH linux, using
C++. This is really the first part of my term project, so I just need a
quick and dirty piece of codes to handle this.
To the people who have suggested jpeblib, what keywords or procedures I
should look for in the jpeg manual
On Mon, Oct 23, 2000 at 02:09:19PM -0400, Vinhthuy T Phan wrote:
>Ideally, I'm looking for read and write routines that would take as
>input a .jpg image and output an array (each pixel is a RGB value); and
>would take in as input an array and output a .jpg image.
Looks like you will want to prog
On Mon, Oct 23, 2000 at 05:17:40PM -0400, James Smaby <[EMAIL PROTECTED]>
wrote:
> Here's how I would do it:
>
> convert picture.jpg picture.ppm
> ppmtorgb3 picture.ppm
> for PICTURE in picture.{red,grn,blu}
> do
> pnmnoraw $PICTURE
> There doesn't appear to be either a jpgtoppm program or
>Ideally, I'm looking for read and write routines that would take as
>input a .jpg image and output an array (each pixel is a RGB value); and
>would take in as input an array and output a .jpg image.
Here's how I would do it:
convert picture.jpg picture.ppm
ppmtorgb3 picture.ppm
for PICTURE in p
Thank you all for the quick responses so far. I will look into your
suggestions. However, let me just elaborate on what I really
need.
Ideally, I'm looking for read and write routines that would take as
input a .jpg image and output an array (each pixel is a RGB value); and
would take in as i
On Mon, Oct 23, 2000 at 01:51:20PM -0400, Vinhthuy T Phan <[EMAIL PROTECTED]> wrote:
> Hello, thanks for your help.
>
> My goal is to extract an array (each entry is a RGB value) out of a .jpg
> file (for my current project). The only way I can think of is to save a
> .jpg file in gimp as a RGB