LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-16-2004, 12:41 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Costa Rica
Distribution: Kubuntu, Debian, Knoppix
Posts: 2,092
Blog Entries: 1

Rep: Reputation: 90
Java: Encoding a visual object to JPEG (and output to a OutputStream)


I have a visual object in memory (not visualized).

I want to send it as a JPEG image to a web client (working with JSP, guys).

I already have the JPEGImage encoder:

Code:
JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(pageContext.getResponse().getOutputStream());
How can I encode the visual objetc?

Maybe I'm looking the wrong direction. Any ideas?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
java object with a String and an Image exodist Programming 1 05-15-2004 12:36 AM
how to transform an object into an array of bytes on Java! poeta_boy Programming 3 02-15-2004 07:28 PM
Visual Basic or Java figadiablo Programming 30 08-05-2003 10:52 PM
Motion JPEG Encoding gbrad Linux - Software 2 06-15-2003 12:25 PM
mencoder jpeg stream encoding bakuretsu Linux - Software 0 10-10-2002 08:17 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration