[vtkusers] How do I get with/height from BMPReader?

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Fri Apr 25 09:39:24 EDT 2003


Ingo,
	I don't think you could get a width/height from a bmp file, right ?
	*BUT* an imagedata has a width/height !

vtkBMPReader->GetOutput()->GetDimensions()

mathieu
You have just discover the power of vtk and its pipeline filters !

De Boer Ingo wrote:
> Hi,
> 
> I need the image width and height from my BMPReader object?
> How can I get it ? I tried the archives and search for Width, Height
> in the docs, but I didn't find it... GetDataVOI didn't work either.
> 
> thanks
>   Ingo
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/




More information about the vtkusers mailing list