Thanks for the advices. But it seems I didn't explain clearly enough.

I need to write a program on the Palm OS platform (Palm 5.x) that can do
that. Do you have any idea what I can do to

1. decode .jpg into a "Bitmap" object (with a 2-D array of 24-bit RGB
values) that I can modify values of each pixels?
2. save back the modified "Bitmap" object into a .jpg file?

on the Palm OS 5.x platform?

Thanks a lot.

Picco



> Picco Chu wrote:
> > Yes, that's exactly what I would like to do. I need to do modification
on
> > pixel values directly. Like making the photo to grayscale or colorize
it.
> >
> > I found a Jpeg software decode/encode library. But it can only output
16-bit
> > "Bitmap" object. I need something like a 24-bit Bitmap object so I can
> > manipulate image pixel values directly.
>
> Well, GIMP (www.gimp.org) is a free and very powerful image editing
> software capable of doing this and IrfanView (http://www.irfanview.com/)
> is a bit simpler tool that might also be valuable to you.
>
> There are also commercial softwares like Paint Shop Pro and Photoshop.
>
> You seem to be using Windows so you might also try the Paint that is
> shipped with most Windowses. It is a very simple image editign program
> that might help you. Also remember that jpeg is a lossy compression
> method and whenever you open a jpeg image, edit it and save again as a
> jpeg image you will lose some quality. In order to prevent this use
> lossless compression like PNG.
>
> Paapaa
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to