Re: GIF-Modification

2002-03-07 Thread Jan Torres

Pete,
some time ago I did use the PurpleCode library to do similar things with
gif (even w/o an awt peer)
http://www.purpletech.com/code.jsp
Not sure if it has capabilities of 'reopening' an existing image - but it
seems to be very complete...

Best regards
_
Jan Torres W.


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Dolukhanov
Sent: 05 March 2002 19:30
To: [EMAIL PROTECTED]
Subject: GIF Modification


Dear All,



I was wondering if there was a Java class that would (easily) allow me
to:



i) Take an existing GIF image

ii) Add objects (ie, circle, colour red, at position x,y)

iii) Save or display the output



Is this possible?



Cheers

Pete Dolukhanov

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: GIF Modification

2002-03-06 Thread Mark Lines-Davies

Peter

A colleague did this sort of thing a while back. I asked him what he had
used. He said...

It was Java Advanced Imaging.
http://java.sun.com/products/java-media/jai/index.html

I used about 0.1% of its capabilities - the main thing was that it provided
a way to write images as GIFs.  Most of what I used was the imaging stuff in
the standard Java libraries - java.awt.image etc, which has all the stuff
for setting up image buffers and drawing on them.

Hope this helps.

Mark Lines-Davies


-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Peter Dolukhanov
Sent: 05 March 2002 19:30
To: [EMAIL PROTECTED]
Subject: GIF Modification


Dear All,



I was wondering if there was a Java class that would (easily) allow me
to:



i) Take an existing GIF image

ii) Add objects (ie, circle, colour red, at position x,y)

iii) Save or display the output



Is this possible?



Cheers

Pete Dolukhanov

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



*
The information contained in this message or any of its
attachments may be privileged and confidential and intended
for the exclusive use of the addressee. If you are not the
addressee any disclosure, reproduction, distribution or other
dissemination or use of this communication is strictly prohibited
*

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: GIF Modification

2002-03-06 Thread M. Simms

WRITING GIFS. CAN'T BE HERE'S THE LATEST JAI 1.1 DOCS:
 o GIF file handling:

 GIF files are read using the JDK's internal reader. There
is no GIF
 writer. Due to a bug in the AWT GIF decoder, GIFs with a
transparent
 background will be decoded as if their background were
black.

 GIF files may not be read remotely, i.e., via RemoteImage,
on hosts
 without window system access as the reader uses the AWT
toolkit
 which requires window system access.

THERE IS NO GIF WRITER.
JPEGS ? YES.

 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Lines-Davies
 Sent: Wednesday, March 06, 2002 6:19 AM
 To: [EMAIL PROTECTED]
 Subject: Re: GIF Modification


 Peter

 A colleague did this sort of thing a while back. I asked him what he had
 used. He said...

 It was Java Advanced Imaging.
 http://java.sun.com/products/java-media/jai/index.html

 I used about 0.1% of its capabilities - the main thing was that
 it provided
 a way to write images as GIFs.  Most of what I used was the
 imaging stuff in
 the standard Java libraries - java.awt.image etc, which has all the stuff
 for setting up image buffers and drawing on them.

 Hope this helps.

 Mark Lines-Davies


 -Original Message-
 From: A mailing list about Java Server Pages specification and reference
 [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Dolukhanov
 Sent: 05 March 2002 19:30
 To: [EMAIL PROTECTED]
 Subject: GIF Modification


 Dear All,



 I was wondering if there was a Java class that would (easily) allow me
 to:



 i) Take an existing GIF image

 ii) Add objects (ie, circle, colour red, at position x,y)

 iii) Save or display the output



 Is this possible?



 Cheers

 Pete Dolukhanov

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
 JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
 DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com



 *
 The information contained in this message or any of its
 attachments may be privileged and confidential and intended
 for the exclusive use of the addressee. If you are not the
 addressee any disclosure, reproduction, distribution or other
 dissemination or use of this communication is strictly prohibited
 *

 ==
 =
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
 JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set
 JSP-INTEREST DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: GIF Modification

2002-03-06 Thread kim

you can get gif writer from
http://www.acme.com/java/software/Acme.JPM.Encoders.GifEncoder.html


- Original Message -
From: M. Simms [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 07, 2002 7:14 AM
Subject: Re: GIF Modification


 WRITING GIFS. CAN'T BE HERE'S THE LATEST JAI 1.1 DOCS:
  o GIF file handling:

  GIF files are read using the JDK's internal reader. There
 is no GIF
  writer. Due to a bug in the AWT GIF decoder, GIFs with a
 transparent
  background will be decoded as if their background were
 black.

  GIF files may not be read remotely, i.e., via
RemoteImage,
 on hosts
  without window system access as the reader uses the AWT
 toolkit
  which requires window system access.

 THERE IS NO GIF WRITER.
 JPEGS ? YES.

  -Original Message-
  From: A mailing list about Java Server Pages specification and reference
  [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Lines-Davies
  Sent: Wednesday, March 06, 2002 6:19 AM
  To: [EMAIL PROTECTED]
  Subject: Re: GIF Modification
 
 
  Peter
 
  A colleague did this sort of thing a while back. I asked him what he had
  used. He said...
 
  It was Java Advanced Imaging.
  http://java.sun.com/products/java-media/jai/index.html
 
  I used about 0.1% of its capabilities - the main thing was that
  it provided
  a way to write images as GIFs.  Most of what I used was the
  imaging stuff in
  the standard Java libraries - java.awt.image etc, which has all the
stuff
  for setting up image buffers and drawing on them.
 
  Hope this helps.
 
  Mark Lines-Davies
 
 
  -Original Message-
  From: A mailing list about Java Server Pages specification and reference
  [mailto:[EMAIL PROTECTED]]On Behalf Of Peter Dolukhanov
  Sent: 05 March 2002 19:30
  To: [EMAIL PROTECTED]
  Subject: GIF Modification
 
 
  Dear All,
 
 
 
  I was wondering if there was a Java class that would (easily) allow me
  to:
 
 
 
  i) Take an existing GIF image
 
  ii) Add objects (ie, circle, colour red, at position x,y)
 
  iii) Save or display the output
 
 
 
  Is this possible?
 
 
 
  Cheers
 
  Pete Dolukhanov
 
  ==
  =
  To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
  JSP-INTEREST.
  For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
  DIGEST.
  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://archives.java.sun.com/jsp-interest.html
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.jsp
   http://www.jguru.com/faq/index.jsp
   http://www.jspinsider.com
 
 
 
 
*
  The information contained in this message or any of its
  attachments may be privileged and confidential and intended
  for the exclusive use of the addressee. If you are not the
  addressee any disclosure, reproduction, distribution or other
  dissemination or use of this communication is strictly prohibited
 
*
 
  ==
  =
  To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
  JSP-INTEREST.
  For digest: mailto [EMAIL PROTECTED] with body: set
  JSP-INTEREST DIGEST.
  Some relevant FAQs on JSP/Servlets can be found at:
 
   http://archives.java.sun.com/jsp-interest.html
   http://java.sun.com/products/jsp/faq.html
   http://www.esperanto.org.nz/jsp/jspfaq.jsp
   http://www.jguru.com/faq/index.jsp
   http://www.jspinsider.com


===
 To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff
JSP-INTEREST.
 For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST
DIGEST.
 Some relevant FAQs on JSP/Servlets can be found at:

  http://archives.java.sun.com/jsp-interest.html
  http://java.sun.com/products/jsp/faq.html
  http://www.esperanto.org.nz/jsp/jspfaq.jsp
  http://www.jguru.com/faq/index.jsp
  http://www.jspinsider.com


===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



GIF Modification

2002-03-05 Thread Peter Dolukhanov

Dear All,



I was wondering if there was a Java class that would (easily) allow me
to:



i) Take an existing GIF image

ii) Add objects (ie, circle, colour red, at position x,y)

iii) Save or display the output



Is this possible?



Cheers

Pete Dolukhanov

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com