Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

get image size

I want to use Python API to create a volume from an image. To do so, I need to know the size of image. I noticed that image class has OS-EXT-IMG-SIZE:size property, but I don't know how to get the size from there.