JPEG manipulation  
Author Message
placid





PostPosted: 2005-12-13 12:29:00 Top

java-programmer, JPEG manipulation Hi all,

I was just wondering if there is a way of changing a JPEG image in
Java, what i mean is, can i edit a JPEG (manipulate pixels in the
image) ?

Thanks in advance

 
Roedy Green





PostPosted: 2005-12-13 12:46:00 Top

java-programmer >> JPEG manipulation On 12 Dec 2005 20:29:10 -0800, "placid" <email***@***.com> wrote,
quoted or indirectly quoted someone who said :

>I was just wondering if there is a way of changing a JPEG image in
>Java, what i mean is, can i edit a JPEG (manipulate pixels in the
>image) ?

see http://mindprod.com/jgloss/jai.html
http://mindprod.com/jgloss/image.html
http://mindprod.com/jgloss/imageio.html
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
 
placid





PostPosted: 2005-12-13 12:56:00 Top

java-programmer >> JPEG manipulation
Roedy Green wrote:
> On 12 Dec 2005 20:29:10 -0800, "placid" <email***@***.com> wrote,
> quoted or indirectly quoted someone who said :
>
> >I was just wondering if there is a way of changing a JPEG image in
> >Java, what i mean is, can i edit a JPEG (manipulate pixels in the
> >image) ?
>
> see http://mindprod.com/jgloss/jai.html
> http://mindprod.com/jgloss/image.html
> http://mindprod.com/jgloss/imageio.html

sorry but the the links aren't working.

> --
> Canadian Mind Products, Roedy Green.
> http://mindprod.com Java custom programming, consulting and coaching.

 
 
Oliver Wong





PostPosted: 2005-12-13 23:04:00 Top

java-programmer >> JPEG manipulation
"placid" <email***@***.com> wrote in message
news:email***@***.com...
> Hi all,
>
> I was just wondering if there is a way of changing a JPEG image in
> Java, what i mean is, can i edit a JPEG (manipulate pixels in the
> image) ?

Yes.

Sun has libraries for reading JPEG images, from which you can get an
array of pixels. You can modify those pixels any way you like. And Sun also
has libraries for writing those pixels back to disk in JPEG format.

Roedy was trying to give you links, but if his site is down, you can
google for the topics: Lookup JAI which stands for Java Advanced Imaging,
and ImageIO.

- Oliver