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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "A question about BufferedImage class." Watch "A question about BufferedImage class." New topic
Author

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
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

Depends on how you want to send it. Why can't you send the BufferedImage object? Can you give some more details?
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 java.io.Serializable. 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: http://aspose.com/file-tools
 
subject: A question about BufferedImage class.
 
Similar Threads
rendering html into image
out of memoey!! how to release a BufferedImage
Setting java.awt.Image background color
How does something get Double Buffered
Rotating image in JLabel