
![]() |
Welcome Guest ( Log In | Register ) ![]() |
![]() ![]() ![]() |
wdpetry |
Posted: Aug 17 2007, 08:29 PM
|
![]() |
I am a science teacher who programs computers as a hobby. I want to, with point-and-click ease, create an ExamView test (that's the easy part), export the test as an XML file (also easy), then create a PowerPoint presentation on-the-fly (i.e. via code--also easy) to present to my class a day or so before to get them ready. This all works just peachy, except for the xml-embedded images in the exported file. It looks like they are base64 encoded, but I've decoded them and saved the byte array, but can't pull up the original image. Of course I can do this the long way--pulling up the narrative, copy the image, etc. But that defeats the whole efficiency point. Can anyone out there throw me a bone?
|
Support DC |
Posted: Jan 15 2008, 04:48 PM
|
![]() |
Image data in ExamView XML files is stored in Windows BMP format. A BMP file consists of the following structures (defined by Microsoft):
BITMAPFILEHEADER BITMAPINFOHEADER RGBQUAD[x] (color table, indexed images only) <pixel data> The base-64 encoded data represents ONLY the pixel data. You must reconstruct the remaining structures using the info available in the <pict-header> element in the XML file. |
![]() ![]() ![]() |