[Python] how to extarct image from <MSO_FILL_TYPE.PICTURE: 6> by pptx

Discussão em 'Python' iniciado por Stack, Maio 26, 2025.

  1. Stack

    Stack Membro Participativo

    I can extract image from MSO_SHAPE_TYPE.PICTURE

    if sp.shape_type == MSO_SHAPE_TYPE.PICTURE:
    pic_list.append(sp.image)


    but sometimes, the images appear in autoshape and type of fill is MSO_FILL_TYPE.PICTURE

    I'don't kown how to extract it like MSO_SHAPE_TYPE.PICTURE

    Continue reading...

Compartilhe esta Página