<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: inline image mime type</title><link>https://www.infopathdev.com:443/forums/thread/6203.aspx</link><pubDate>Tue, 27 Jul 2004 23:59:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6203</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6203.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6203</wfw:commentRss><description>Sorry for the delay. &lt;br /&gt;&lt;br /&gt;Thom Robbins has blogged this in more detail. Have you looked at: &lt;a href='http://radio.weblogs.com/0131777/categories/infopathTipsAndTricks/2004/04/04.html#a107' target='_blank' title='http://radio.weblogs.com/0131777/categories/infopathTipsAndTricks/2004/04/04.html#a107'&lt;a target="_blank" href=http://radio.weblogs.com/0131777/categories/infopathTipsAndTricks/2004/04/04.html#a107&gt;http://radio.weblogs.com/0131777/categories/infopathTipsAndTricks/2004/04/04.html#a107&lt;/a&gt;&lt;/a&gt; ?</description></item><item><title>Re: inline image mime type</title><link>https://www.infopathdev.com:443/forums/thread/6202.aspx</link><pubDate>Fri, 23 Jul 2004 09:16:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6202</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6202.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6202</wfw:commentRss><description>I tried reading the first 16 bytes of the converted Base64 and converted these into a GUID which I used to construct a System.Drawing.Imaging.ImageFormat.&lt;br /&gt;&lt;br /&gt;However the System.Drawing.Imaging.ImageFormat does not return any of the available image types. &lt;br /&gt;&lt;br /&gt;It does recognize something because the object returns: [ImageFormat: e0ffd8ff-1000-464a-4946-000101010096] when submitting a jpg image. &lt;br /&gt;&lt;br /&gt;What am i doing wrong ?&lt;br /&gt;</description></item><item><title>Re: inline image mime type</title><link>https://www.infopathdev.com:443/forums/thread/6201.aspx</link><pubDate>Fri, 23 Jul 2004 06:07:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6201</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6201.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6201</wfw:commentRss><description>The src attribute contains a guid that refers to the image. I believe you'll want to look at the header of the actual base 64 data for the mime type, but not exactly sure. I'll check and get back to you.</description></item><item><title>inline image mime type</title><link>https://www.infopathdev.com:443/forums/thread/4459.aspx</link><pubDate>Thu, 22 Jul 2004 12:46:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4459</guid><dc:creator>Anonymous</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4459.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4459</wfw:commentRss><description>Pasting an image into a Infopath rich text box and submitting the form results in an xml inline image of the format&lt;br /&gt;&lt;br /&gt;&amp;lt;img style=".." src="msoInline/f4b19f6546fa4081" xd:inline="...." /&amp;gt;&lt;br /&gt;&lt;br /&gt;Using System.Convert.FromBase64String the xd:inline innertext can be converted to an image. &lt;br /&gt;&lt;br /&gt;However how do I convert the src innertext to something readable. And does it contain the mime type of the image, which would be usefull ?&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>