def METHOD_NAME(self, index=1):
    #
    # get the Image Contents Property Set
    prop = self.ole.getproperties(
        ["Data Object Store %06d" % index, "\005Image Contents"]
    )
    # size (highest resolution)
    self._size = prop[0x1000002], prop[0x1000003]
    size = max(self.size)
    i = 1
    while size > 64:
        size = size / 2
        i += 1
    self.maxid = i - 1
    # mode.  instead of using a single field for this, flashpix
    # requires you to specify the mode for each channel in each
    # resolution subimage, and leaves it to the decoder to make
    # sure that they all match.  for now, we'll cheat and assume
    # that this is always the case.
    id = self.maxid << 16
    s = prop[0x2000002 | id]
    colors = []
    bands = i32(s, 4)
    if bands > 4:
        raise IOError("Invalid number of bands")
    for i in range(bands):
        # note: for now, we ignore the "uncalibrated" flag
        colors.append(i32(s, 8 + i * 4) & 0x7FFFFFFF)
    self.mode, self.rawmode = MODES[tuple(colors)]
    # load JPEG tables, if any
    self.jpeg = {}
    for i in range(256):
        id = 0x3000001 | (i << 16)
        if id in prop:
            self.jpeg[i] = prop[id]
    self._open_subimage(1, self.maxid)