Expand description
Image insertion and management.
Provides types for configuring image placement in worksheets and helpers for building the corresponding drawing XML structures.
Structs§
- Image
Config - Configuration for inserting an image into a worksheet.
- Picture
Info - Information about a picture retrieved from a worksheet.
Enums§
- Image
Format - Supported image formats.
Constants§
- EMU_
PER_ PIXEL - EMU (English Metric Units) per pixel at 96 DPI. 1 inch = 914400 EMU, 1 inch = 96 pixels => 1 pixel = 9525 EMU.
Functions§
- add_
image_ to_ drawing - Add an image anchor to an existing drawing.
- build_
drawing_ with_ image - Build a drawing XML structure containing a single image.
- pixels_
to_ emu - Convert pixel dimensions to EMU.
- validate_
image_ config - Validate an ImageConfig.