Re: Are there any Java Graphics gurus out there?

2002-06-18 Thread Michael Mehrle

Java Guru  I don't know, but I have done a lot of Java graphics in the
past what do you need?

- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 6:33 AM
Subject: Are there any Java Graphics gurus out there?


 Way off topic, but I'm desparate.

 If any of you have any experience with working with graphics, could you
 please contact me off-list at [EMAIL PROTECTED]?

 Thanks.


 Jerry

 This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Are there any Java Graphics gurus out there?

2002-06-18 Thread Jerry Jalenak

Michael,

Thanks for the reply. My problem is fairly basic, but I can't seem to figure
it out.  Here goes

From my webapp I capture a 'control number' that I then pass over to an
image server through a socket connection (port 4177).  The image server then
responds with the number of images related to the control number along with
the file names.  This much work fine.  I then pass each file name back to
the image server through a different socket connection (port 4178).  The
image server responds with the file size, then streams the file back to me.
The file is a TIFF image.  What I am struggling with is how to capture this
TIFF image, and convert it to JPEG.  I've looked at the ImageIO classes, but
they don't natively support TIFF (yet).  I read someplace this morning that
you can register the JAI TIFF class for use with ImageIO, but can't figure
out how to do that.  JAI might be the answer, but again, I can't figure out
how to do a JAI.create where the source is a socket and not a file.

I know there's got to be an easier way to do this, but with my limited
background in Java (only been coding in this for a few months now), I am at
a total loss.  Any help is greatly appreciated.

Thanks.

Jerry

-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 5:46 PM
To: Struts Users Mailing List
Subject: Re: Are there any Java Graphics gurus out there?


Java Guru  I don't know, but I have done a lot of Java graphics in the
past what do you need?

- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 6:33 AM
Subject: Are there any Java Graphics gurus out there?


 Way off topic, but I'm desparate.

 If any of you have any experience with working with graphics, could you
 please contact me off-list at [EMAIL PROTECTED]?

 Thanks.


 Jerry

 This transmission (and any information attached to it) may be confidential
and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Are there any Java Graphics gurus out there?

2002-06-18 Thread Arron Bates

I don't mean to sound harsh, but if your post starts off with 
Wy off topic... then it really shouldn't be posted.

A page on the Sun site about handling images of all kinds, and there's a 
code sample for TIFF...

http://java.sun.com/products/java-media/jai/iio.html

It will get you to an Image object, and then from there you can pass it 
to the JPEGImageEncoder or whatever. As I said before (off the list), 
the information is already out there, you just have to go get it. I 
found this by searching java reading tiff image files on 
www.google.com and it was the third link down.

But I hope you get the solution you need. I already know that the answer 
wont be from this list...



Arron.



Jerry Jalenak wrote:

Michael,

Thanks for the reply. My problem is fairly basic, but I can't seem to figure
it out.  Here goes

From my webapp I capture a 'control number' that I then pass over to an
image server through a socket connection (port 4177).  The image server then
responds with the number of images related to the control number along with
the file names.  This much work fine.  I then pass each file name back to
the image server through a different socket connection (port 4178).  The
image server responds with the file size, then streams the file back to me.
The file is a TIFF image.  What I am struggling with is how to capture this
TIFF image, and convert it to JPEG.  I've looked at the ImageIO classes, but
they don't natively support TIFF (yet).  I read someplace this morning that
you can register the JAI TIFF class for use with ImageIO, but can't figure
out how to do that.  JAI might be the answer, but again, I can't figure out
how to do a JAI.create where the source is a socket and not a file.

I know there's got to be an easier way to do this, but with my limited
background in Java (only been coding in this for a few months now), I am at
a total loss.  Any help is greatly appreciated.

Thanks.

Jerry

-Original Message-
From: Michael Mehrle [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 5:46 PM
To: Struts Users Mailing List
Subject: Re: Are there any Java Graphics gurus out there?


Java Guru  I don't know, but I have done a lot of Java graphics in the
past what do you need?

- Original Message -
From: Jerry Jalenak [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 18, 2002 6:33 AM
Subject: Are there any Java Graphics gurus out there?


Way off topic, but I'm desparate.

If any of you have any experience with working with graphics, could you
please contact me off-list at [EMAIL PROTECTED]?

Thanks.


Jerry

This transmission (and any information attached to it) may be confidential

and is intended solely for the use of the individual or entity to which it
is addressed. If you are not the intended recipient or the person
responsible for delivering the transmission to the intended recipient, be
advised that you have received this transmission in error and that any use,
dissemination, forwarding, printing, or copying of this information is
strictly prohibited. If you have received this transmission in error, please
immediately notify LabOne at (800)388-4675.



--
To unsubscribe, e-mail:

mailto:[EMAIL PROTECTED]

For additional commands, e-mail:

mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]