Skip to content

ppt picture get

goworm edited this page Jun 26, 2026 · 52 revisions

PowerPoint: Picture - get

Returned attributes when getting a picture node.

Path: /slide[N]/picture[M]

Returned Attributes

Key Type Description
name string Picture name
alt string Alt text description
x integer Horizontal position (EMU)
y integer Vertical position (EMU)
width integer Width (EMU)
height integer Height (EMU)
crop string Crop values as left,top,right,bottom percentage numbers (e.g. 5,5,0,0)
mediaType string Logical media kind derived from VideoFromFile / AudioFromFile presence under the picture. One of picture, video, audio. Surfaces only via the image/video/audio/media selectors.
compressionState string Blip compression target (a:blip cstate). One of email, print, hqprint, screen. none (the default) is suppressed on readback.

Example

officecli get slides.pptx /slide[1]/picture[1]
/slide[1]/picture[1] (Picture)
  name: Product Photo
  alt: Product packaging on white background
  x: 2286000
  y: 1524000
  width: 4572000
  height: 3429000
  crop: 0,5,0,5

Based on OfficeCLI v1.0.64

Clone this wiki locally