python-pptx
python-pptx copied to clipboard
Create Open XML PowerPoint documents in Python
n some cases, the position and size of group type shapes are incorrect, but I have found that even if they are in the wrong position, their relative positions are...
Error when extract 'jpeg' image from pptx, "AttributeError: 'Part' object has no attribute 'image'"
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...
Currently, PPTX files that are protected by Azure Rights Management (RMS) cannot be opened by the library (as of version 0.6.23). Attempting to open such a file throws `pptx.exc.PackageNotFoundError: Package...
Has anyone a hint for autocompletion in Pycharm with pptx library. Other installed libraries working fine and it works in terminal. Maybe someone had the same problem? I tried different...
I have a pptx which used the add_video function to added a audio file. I delete the audio file with normal Powerpoint apps, and then If I try to add...
How do I change the color of hyperlink text? Now add a hyperlink and use color The RGB setting has no effect. It is always the default blue color
Hello, @scanny! For a project, I'm trying to group/cluster/build a hierarchy of shapes on slides. Trying to do that using positions of a given shape and its sizes. For visualizing...
There's #528 issue before that showed how to insert Office Math ML (Equations) text, but I want to know is there any way to parse/extract text? #706 that seemed to...
I have created a picture placeholder in the Powerpoint slide and applied rounded corners and soft edges formatting. When I use placeholder.insert_picture, formatting is lost and insert image is displayed...
Hi guys, I want to add a video to the new slideshow. The format of the video is "mp4", but some presentations are fine, but some will report an error...