You're right, it is image data. I don't remember the format exactly, off the top of my head. I'll check when I get home. But if you don't see a second post from me within the next day or so, post something else here, and it will send me another email and remind me.
I'm pretty sure, though, that it is just a pile of bytes. The image's width and height measured in pixels, is probably first, though it might be height then width. Then it is the red, green, blue, and alpha values for each pixel. Each color is 1 byte. So each pixel is 4 bytes.
Tell you what: when I get home, I'll grab my code for loading this in and post it here so you can see how I've loaded it in the program.
Of course, depending on what your utility program is trying to accomplish, you may be able to just skip over it, or simply maintain the pile of bytes (as a string) at leave it at that. If you're not actually trying to load the image, you can probably get away with that.
Also, I think I might have just remembered that I'm storing the image width and height as an attribute to one of those XML nodes, so the width and height may not be in that contents node.
Hmm… all of this will be clearer later, when I get a chance to post that part of the code. Like I said, remind me if you don' t see anything in the next day or so.