paper-docxAPI referenceimage.bmp
Bmp
paper-docx 0.2.0 API reference
Image header parser for BMP images.
Attributes
content_type
attributecontent_typeMIME content type for this image, unconditionally image/bmp for BMP
images.
default_ext
attributedefault_extDefault filename extension, always 'bmp' for BMP images.
horz_dpi
attributehorz_dpiInteger dots per inch for the width of this image.
Defaults to 72 when not present in the file, as is often the case.
px_height
attributepx_heightThe vertical pixel dimension of the image.
px_width
attributepx_widthThe horizontal pixel dimension of the image.
vert_dpi
attributevert_dpiInteger dots per inch for the height of this image.
Defaults to 72 when not present in the file, as is often the case.
Functions
from_stream
funcfrom_stream(stream)Return Bmp instance having header properties parsed from the BMP image in
stream.
paramstream