<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">Hi,</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">

I built the example of writing file:</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); "><a href="http://www.vtk.org/Wiki/ITK/Examples/IO/ImageFileWriter" target="_blank" style="color: rgb(17, 85, 204); ">http://www.vtk.org/Wiki/ITK/Examples/IO/ImageFileWriter</a></div>

<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">with visual C++ and I get the error of writing file png.</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">

<br></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">And I think the reason that m_RegisteredFactories is not initialized well?</div>

<div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">Thuan,</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 13px; background-color: rgba(255, 255, 255, 0.917969); ">

<br></div><br><div class="gmail_quote">2011/11/18 Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

ITKv4 supports the writing of .mha and .mhd.<br>
<br>
Can you provide an example that fails?<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Nov 17, 2011 at 4:30 AM, Vu Hong Thuan &lt;<a href="mailto:thuanvh@gmail.com">thuanvh@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt; I start to use the latest version of itk (4.0rc20). But I meet an error in<br>
&gt; creating file mha or mhd format.<br>
&gt; Description:  Could not create IO object for file outputImageBsplineFine.mhd<br>
&gt;   Tried to create one of the following:<br>
&gt;   You probably failed to set a file suffix, or<br>
&gt;     set the suffix to an unsupported type.<br>
&gt; I think this is bug of itk. Do you support the writing .mha or .mhd format<br>
&gt; in this version?<br>
&gt; Thanks.<br>
&gt; Thuan.<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; _____________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at<br>
&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Kitware offers ITK Training Courses, for more information visit:<br>
&gt; <a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Unpaid intern in BillsBasement at noware dot com<br>
</font></span></blockquote></div><br>