How can I set the output resolution in pixels? The current code has this:
# Set slide dimensions
prs.slide_height = height * 9525
prs.slide_width = width * 9525
# Add slide
slide = prs.slides.add_slide(blank_slide_layout)
pic = slide.shapes.add_picture(imagefile, 0, 0, width=width * 9525, height=height * 9525)
There is multiplier of 9525 but I want to fix the output to 1920x1080px. What units does the number relate to and can a pixel value be set?
How can I set the output resolution in pixels? The current code has this:
There is multiplier of
9525but I want to fix the output to1920x1080px. What units does the number relate to and can a pixel value be set?