wzp123123
Results
1
issues of
wzp123123
Error when extract 'jpeg' image from pptx, "AttributeError: 'Part' object has no attribute 'image'"
3
I use the below code to extract images from pptx: code ------------------------------- if shape.shape_type == MSO_SHAPE_TYPE.PICTURE: image_bytes = shape.image.blob for some images, raise: File ~/anaconda3/envs/pytorch_p310/lib/python3.10/site-packages/pptx/shapes/picture.py:195, in Picture.image(self) 193 if rId...