How do I get the width and height of an existing image file?
![DraagonStorm](https://delorean.daz3d.com/forums/uploads/userpics/734/n0D8D6E58350E.png)
I've tried a few things, but can't seem to figure out how I can get the width and height of an existing image file.
I've tried a few things, but can't seem to figure out how I can get the width and height of an existing image file.
Comments
Pixmap and Image both provide constructors that take a path. Both also provide height, width, size and rect properties. DzTexture provides a
getOriginalImageSize()
method that returns a Size, which provides height and width properties.-Rob