<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1561" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="PersonName"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>
st1\:*{behavior:url(#default#ieooui) }
</STYLE>
<![endif]-->
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Fixedsys;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@Fixedsys";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=white>
<DIV><FONT face=Arial>Hi Sam,</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>An error message should be printed to your terminal when
the exception is thrown, but f</FONT><FONT face=Arial>rom a glance the following
line looks fishy:</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>reader->SetFileName( “cFileName );</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Try replacing it with:</DIV>
<DIV><FONT face=Arial>reader->SetFileName( "image0075.dcm");</FONT></DIV>
<DIV> </DIV>
<DIV>-Rob</DIV></FONT>
<DIV><FONT face=Arial></FONT> </DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=sd2usa@gmail.com href="mailto:sd2usa@gmail.com">Xuejun</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=robert.tamburo@gmail.com
href="mailto:robert.tamburo@gmail.com">'Robert Tamburo'</A> ; <A
title=insight-users@itk.org
href="mailto:insight-users@itk.org">insight-users@itk.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=sd2usa@gmail.com
href="mailto:sd2usa@gmail.com">sd2usa@gmail.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, August 23, 2006 12:36
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Help on reading DICOM image
</DIV>
<DIV><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Dear Robert:
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I very appreciate
your prompt response, and I ask for your favor for another problem I
encountered in reading DICOM image.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I followed your
instructions in getting image sizes. Because all sizes of the image displayed
0, I checked the code and found that an exception happened in reading the
DICOM image. I copied exactly the code in the ItkApp file
DicomImageReadWrite.cxx as follows and tested it using the testing DICOM image
image0075.dcm in the ItkApp. <o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal style="TEXT-INDENT: 0.5in"><FONT face=Fixedsys color=blue
size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Fixedsys">typedef</SPAN></FONT><FONT
face=Fixedsys size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">signed</SPAN></FONT> <FONT
color=blue><SPAN style="COLOR: blue">short</SPAN></FONT>
InputPixelType;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">const</SPAN></FONT> <FONT
color=blue><SPAN style="COLOR: blue">unsigned</SPAN></FONT> <FONT
color=blue><SPAN style="COLOR: blue">int</SPAN></FONT>
InputDimension = 2;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">typedef</SPAN></FONT>
itk::Image< InputPixelType, InputDimension >
InputImageType;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">typedef</SPAN></FONT>
itk::ImageFileReader< InputImageType >
ReaderType;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">typedef</SPAN></FONT>
InputImageType::SizeType
SizeType;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
ReaderType::Pointer reader = ReaderType::New();<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
reader->SetFileName( </SPAN></FONT><FONT size=2><SPAN
style="FONT-SIZE: 10pt">“</SPAN></FONT><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">cFileName
);<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">typedef</SPAN></FONT>
itk::GDCMImageIO
ImageIOType;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
ImageIOType::Pointer gdcmImageIO =
ImageIOType::New();<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
reader->SetImageIO( gdcmImageIO );<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN
style="COLOR: blue">try<o:p></o:p></SPAN></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
{<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
reader->Update();<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
}<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">catch</SPAN></FONT>
(itk::ExceptionObject & e)<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
{<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
std::cerr << "exception in file reader " <<
std::endl;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
std::cerr << e << std::endl;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys color=green size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: green; FONT-FAMILY: Fixedsys">//
return EXIT_FAILURE;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
}<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
InputImageType::Pointer image = reader->GetOutput()
;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=green><SPAN
style="COLOR: green"><o:p></o:p></SPAN></FONT></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">unsigned</SPAN></FONT> <FONT
color=blue><SPAN style="COLOR: blue">long</SPAN></FONT> lwidth =
image->GetLargestPossibleRegion().GetSize()[0]
;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Fixedsys size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Fixedsys">
<FONT color=blue><SPAN style="COLOR: blue">unsigned</SPAN></FONT> <FONT
color=blue><SPAN style="COLOR: blue">long</SPAN></FONT> lheight =
image->GetLargestPossibleRegion().GetSize()[1]
;<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">The information about
the exception is:
itk::ImageFileReaderException@0x0122f17c.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Would you please tell
me what is wrong in the code and how to fix it? I very appreciate your kind
help.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Best
regards,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Sam<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Robert
Tamburo [mailto:robert.tamburo@gmail.com] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, August 23, 2006 11:43
AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Xuejun;
<st1:PersonName w:st="on">insight-users@itk.org</st1:PersonName><BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Insight-users] Help on
image size</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">The image base class has the
functionality to return image regions as well as the size of these regions. To
retrieve the size of the image, you can use the
following:</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">itkSize<imageDimension>
imageSize =
image->GetLargestPossibleRegion().GetSize()</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">or you can just get each dimension
individually, i.e., for 3D: </SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">unsigned long x =
image->GetLargestPossibleRegion().GetSize()[0]</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">unsigned long y =
image->GetLargestPossibleRegion().GetSize()[1]</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">unsigned long z =
image->GetLargestPossibleRegion().GetSize()[2]</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial size=3><SPAN
style="FONT-SIZE: 12pt; FONT-FAMILY: Arial">-Rob</SPAN></FONT><o:p></o:p></P></DIV>
<BLOCKQUOTE
style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0in; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0in; MARGIN: 5pt 0in 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0in; BORDER-BOTTOM: medium none">
<DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message -----
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV style="font-color: black">
<P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial
size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A
title=sd2usa@gmail.com href="mailto:sd2usa@gmail.com">Xuejun</A>
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A
title=insight-users@itk.org
href="mailto:insight-users@itk.org">insight-users@itk.org</A>
<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
Wednesday, August 23, 2006 10:46 AM<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><B><FONT face=Arial size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
[Insight-users] Help on image size<o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Can anybody tell me how to get
the image size, including the height and the width of an image? Your kind
help is greatly appreciated.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sam<o:p></o:p></SPAN></FONT></P>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt">_______________________________________________<BR>Insight-users
mailing list<BR><A
href="mailto:Insight-users@itk.org">Insight-users@itk.org</A><BR><A
href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</A><o:p></o:p></SPAN></FONT></P></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>