<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Greetings!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I'm trying to get the dimension of a bmp file using 
vtkBMPReader. I'm using GetDataExtent but I only get a vector with 
zeros.</FONT></DIV>
<DIV><FONT face=Arial size=2>This is the code I'm using for:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>bmpReader = 
vtkBMPReader::New();<BR>bmpReader-&gt;SetFileName("C:\\MyFile.bmp");</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>int 
Extent[6];<BR>bmpReader-&gt;GetDataExtent(Extent);<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2>John Mosso.</DIV></FONT>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT></BODY></HTML>