C
cyberco
I want to get the bytes from a BufferedImage to send it over the line,
how can I achieve that? I seems to be trickier than I thought.
how can I achieve that? I seems to be trickier than I thought.
cyberco said:I want to get the bytes from a BufferedImage to send it over the line,
how can I achieve that? I seems to be trickier than I thought.
I want to get the bytes from a BufferedImage to send it over the line,
how can I achieve that? I seems to be trickier than I thought.
you can't serialise it. The actual form is platform dependent, so it
might not mean anything when you got to the other end. What you want
to do is extract an array of ints or shorts or bytes and send that by
serialisation or DataOutputStream.
cyberco said:Yes, getting the bytes is what I'm trying to do.
Unfortunately ImageIO does not have any convenience methods for that
purpose.
cyberco said:I want to get the bytes from a BufferedImage to send it over the line,
how can I achieve that? I seems to be trickier than I thought.
Yes, getting the bytes is what I'm trying to do. Unfortunately ImageIO
does not have any convenience methods for that purpose. Any other
suggestions?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.