Forum Rules Notice

Due to inappropriate SPAM postings, our forums are now being monitored for inappropriate content. This will cause your post to not appear publicly until it has been approved by a forum moderator. We apologize for the delay this may cause in your response, but have found it the best way to control inappropriate posts.

  Reply to this topicStart new topicStart Poll

> Xml Exports: How To Recover Images, Pict-data
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?

PMEmail Poster
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):

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.
PMEmail Poster
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Reply to this topic Start new topicStart Poll


Copyright 1998-2008 eInstruction Corp. All rights reserved.