the capacity of an image at a certain storage density. In case of error, like invalid density value, returns -1
See Implementation