<div>I believe this can do what you're looking for:</div><div><br></div><div><a href="http://www.itk.org/Wiki/ITK/Examples/IO/ReadUnknownImageType">http://www.itk.org/Wiki/ITK/Examples/IO/ReadUnknownImageType</a></div>
<div><br></div><div>Once you have the ImageIOBase object, you can use its GetDimensions function:</div><div><br></div><div><a href="http://www.itk.org/Doxygen/html/classitk_1_1ImageIOBase.html#a249ede68dc40b58a508745e22bccb34f">http://www.itk.org/Doxygen/html/classitk_1_1ImageIOBase.html#a249ede68dc40b58a508745e22bccb34f</a></div>
<div><br></div><div>David</div>