def extract_composite_image(decoded_data):
    header = decoded_data.header
    size = header.width, header.height
    if size == (0, 0):
        return

    channel_ids = _get_header_channel_ids(header)
    if channel_ids is None:
        warnings.warn("This number of channels (%d) is unsupported for this color mode (%s)" % (
                     header.number_of_channels, header.color_mode))
        return

    return _channel_data_to_PIL(
        channel_data=decoded_data.image_data,
        channel_ids=channel_ids,
        color_mode=header.color_mode,
        size=size,
        depth=header.depth,
        icc_profile=get_icc_profile(decoded_data)
    )
Will set the crypting key for this object.
dataset/ETHPy150Open psd-tools/psd-tools/src/psd_tools/user_api/pil_support.py/extract_composite_image--crossover with--dataset/ETHPy150Open mrknow/filmkodi/plugin.video.mrknow/lib/utils/pyDes.py/_baseDes.setKey