My original query asked, "how do you move image data over a network using xml?" Image data is, of course, binary data. Therefore, I didn't even know if you could convert it somehow into character data to fit into an xml document, sent over the network, then reassembled at the other end. It was suggested I look at using Base64 to encode and decode the image data. So, I put together a small test app (see below) to test this theory. The problem however, comes in when I have to convert the image from ImageIcon to a byte array. If you look at the example code you can see where I'm stuck.
if someone or some people at some point hadn't asked a question about something they didn't know how to do. So don't be a such a jerk. If you don't want to answer a question then don't. If people didn't ask questions you wouldn't be able to find this. [ May 22, 2008: Message edited by: Brandon Broschinsky ]
without having looked at the linked content from Joanne's post, I'd assume that it might in fact be helpful to the original poster. I also don't see anything wrong with telling him how he can find such things faster by himself in the future. I also didn't see any name calling in the post - all in all, it didn't look un-nice to me, even if a bit shortspoken.
So I'm not sure what you are so upset about. I'd suggest, though, that you might be more successful by being a role model of the behavior you'd like to see. Whatever you do, please respect our Be Nice rule. Thanks!
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus