def __init__(self, height, width, num_components=<NUM_LIT:1>, signed=False,<EOL>bits_per_component=<NUM_LIT:8>, compression=<NUM_LIT:7>, colorspace_unknown=False,<EOL>ip_provided=False, length=<NUM_LIT:0>, offset=-<NUM_LIT:1>):
Jp2kBox.__init__(self)<EOL>self.height = height<EOL>self.width = width<EOL>self.num_components = num_components<EOL>self.signed = signed<EOL>self.bits_per_component = bits_per_component<EOL>self.compression = compression<EOL>self.colorspace_unknown = colorspace_unknown<EOL>self.ip_provided = ip_provided<EOL>self.length = length<EOL>self.offset = offset<EOL>
Examples
--------
>>> import glymur
>>> box = glymur.jp2box.ImageHeaderBox(height=512, width=256)