<div dir="ltr">Hi Todd,<div><br></div><div>Would it be possible for you to share the itkGDCMImageIO class somehow? I tried making the edits you suggested but wasn't able to get it to work properly.</div><div><br></div><div>Thanks,</div><div>Sarthak </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 9, 2017 at 2:11 PM, Todd Jensen <span dir="ltr"><<a href="mailto:todd.jensen@ieee.org" target="_blank">todd.jensen@ieee.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><font color="#5856d6"><br></font><blockquote type="cite"><div><div style="word-wrap:break-word"><div>From: Sarthak P <<a href="mailto:scapegoat.sarthak@gmail.com" target="_blank">scapegoat.sarthak@gmail.com</a>><br>To: Matt McCormick <<a href="mailto:matt.mccormick@kitware.com" target="_blank">matt.mccormick@kitware.com</a>><br>Cc: "<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>" <<a href="mailto:insight-users@itk.org" target="_blank">insight-users@itk.org</a>><br>Subject: Re: [ITK] [ITK-users] Writing a DICOM file while preserving<br><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">   </span>input<span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">     </span>image<span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">     </span>properties<br>Message-ID:<br><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap"> </span><<a href="mailto:CAEcjzFHR+hm0-mM3biCXpzhaOv=M+G5FVO1sG+9mnz8SFRr5Dw@mail.gmail.com" target="_blank">CAEcjzFHR+hm0-mM3biCXpzhaOv=<wbr>M+G5FVO1sG+9mnz8SFRr5Dw@mail.<wbr>gmail.com</a>><br>Content-Type: text/plain; charset="utf-8"<br><font color="#00afcd"><br></font>So the thing is that even the origin isn't picked up when reading the DICOM<br>image (it is always 0,0,0) so I am guessing I am doing something wrong when<br>writing into the tag 0020|0032 itself. Once that is rectified, the spacing<br>information (should) correct itself.<br><div><div><br></div></div></div></div></div></blockquote><br>I also had to add code to handle the origin and direction to the new Write method in the extended class (see previous message):<br><font color="#5856d6" face="Menlo"><span style="font-size:11px"><br></span></font><blockquote type="cite"><div><div style="word-wrap:break-word"><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><span style="font-variant-ligatures:no-common-ligatures"></span></div></div></div></div></blockquote><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">       </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">double</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ipp[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">3</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ] = { </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> };</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">       </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">if</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ( </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(79,129,135)">itk</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">::</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">ExposeMetaData</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">< </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(120,73,42)">vcl_string</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> >( dict, </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(209,47,27)">"0020|0032"</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">, tmpStr ) )</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">    </span><span style="font-family:Menlo;font-size:11px">{</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">         </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">if</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ( </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">sscanf</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">( tmpStr.</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">c_str</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">(), </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(209,47,27)">"%lf\\%lf\\%lf"</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">, &ipp[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ], &ipp[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">1</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ], &ipp[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">2</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ] ) == </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">3</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> )</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">             </span><span style="font-family:Menlo;font-size:11px">{</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">                 </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">for</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ( </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">unsigned</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">int</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> i = </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">; i < </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">3</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">; i++ )</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">                       </span><span style="font-family:Menlo;font-size:11px">{ </span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">                               </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(112,61,170)">m_Origin</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">i</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ] = ipp[ i ];</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">                  </span><span style="font-family:Menlo;font-size:11px">}</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">          </span><span style="font-family:Menlo;font-size:11px">}</span><br><span style="color:rgb(186,45,162);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">           </span></span><span style="color:rgb(186,45,162);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">else</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">         </span><span style="font-family:Menlo;font-size:11px">{</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">                  </span><span style="font-family:Menlo;font-size:11px">// error</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">           </span><span style="font-family:Menlo;font-size:11px">}</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">  </span><span style="font-family:Menlo;font-size:11px">}</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap"> </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">double</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> dir[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">6</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ] = {</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">1</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">,</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">,</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">,</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">,</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">1</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">,</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">};</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">        </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">if</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ( </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(79,129,135)">itk</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">::</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">ExposeMetaData</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">< </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(120,73,42)">vcl_string</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> >( dict, </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(209,47,27)">"0020|0037"</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">, tmpStr ) )</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">    </span><span style="font-family:Menlo;font-size:11px">{</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">         </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">if</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ( </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">sscanf</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">( tmpStr.</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">c_str</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">(), </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(209,47,27)">"%lf\\%lf\\%lf\\%lf\\%lf\\%lf"</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><wbr>, &dir[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ], &dir[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">1</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ], &dir[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">2</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ] , &dir[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">3</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ], &dir[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">4</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ], &dir[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">5</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ] ) == </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">6</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> )</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">            </span><span style="font-family:Menlo;font-size:11px">{</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">                 </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">for</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ( </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">unsigned</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">int</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> i = </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">; i < </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">2</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">; i++ )</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">                       </span><span style="font-family:Menlo;font-size:11px">{</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">                         </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">for</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ( </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">unsigned</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(186,45,162)">int</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> j = </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">0</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">; j < </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">3</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">; j++ )</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">                               </span><span style="font-family:Menlo;font-size:11px">{</span><br><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">                                 </span></span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(112,61,170)">m_Direction</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">[ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">i</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ][ </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(62,30,129)">j</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ] = dir[ ( i * </span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures;color:rgb(39,42,216)">3</span><span style="font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"> ) + j ];</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">                                </span><span style="font-family:Menlo;font-size:11px">}</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">                  </span><span style="font-family:Menlo;font-size:11px">}</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">          </span><span style="font-family:Menlo;font-size:11px">}</span><br><span style="color:rgb(186,45,162);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures"><span class="m_5024917003990503337Apple-tab-span" style="white-space:pre-wrap">           </span></span><span style="color:rgb(186,45,162);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">else</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">         </span><span style="font-family:Menlo;font-size:11px">{</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">                  </span><span style="font-family:Menlo;font-size:11px">// error</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">           </span><span style="font-family:Menlo;font-size:11px">}</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">  </span><span style="font-family:Menlo;font-size:11px">}</span><br><span class="m_5024917003990503337Apple-tab-span" style="font-family:Menlo;font-size:11px;white-space:pre-wrap">  </span><br><font color="#5856d6"><br></font>I also had to add code to handle the origin and direction to the new Write method in the extended class (see previous message).<span class="HOEnZb"><font color="#888888"><br><font color="#5856d6"><br></font><div style="word-wrap:break-word"><div>Todd</div></div></font></span></div><br></div><br>______________________________<wbr>_________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org">Community@itk.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>