aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes A question about BufferedImage class. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "A question about BufferedImage class." Watch "A question about BufferedImage class." New topic

A question about BufferedImage class.

Yanxin Zhao
Ranch Hand

Joined: May 05, 2004
Posts: 65
Hello everyone,
How to convert BufferedImage into a format that I can send the BufferedImage pic to the server side from client said ?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

Depends on how you want to send it. Why can't you send the BufferedImage object? Can you give some more details?

GenRocket - Experts at Building Test Data
Yanxin Zhao
Ranch Hand

Joined: May 05, 2004
Posts: 65
I am sorry about what I said was not detail enough.
In fact, I just cut a picture from camera. I wanted to used it in another place, so the pic have to across the network to another computer.
Of course, I also want to send the BufferedImage to the server side. But you know, BufferedImage is not the class that implemented the So BufferedImage can not across the network. Maybe some class can convert it into a instance of a Output class so that I can send it by byte[]. but I do not know how?
I agree. Here's the link:
subject: A question about BufferedImage class.