export_png module

class ooodev.write.filter.export_png.ExportPng(pixel_width, pixel_height, logical_width=-1, logical_height=-1, compression=6, translucent=False, interlaced=False)[source]
Parameters:
  • pixel_width (int) –

  • pixel_height (int) –

  • logical_width (int) –

  • logical_height (int) –

  • compression (int) –

  • translucent (bool) –

  • interlaced (bool) –

class ooodev.write.filter.export_png.ExportPngT(*args, **kwargs)[source]

Write Image Export Data for Jpg.

  • pixel_width: Pixel Width.

  • pixel_height: Pixel Height.

  • logical_width: Logical Width - Usually that same as pixel_width.

  • logical_height: Logical Height - Usually that same as pixel_height.

  • compression: Compression value from 1 to 9. Higher compression, smaller file size. Default is 6.

  • translucent: Translucent.

  • interlaced: Interlaced.

compression: int
interlaced: bool
logical_height: int
logical_width: int
pixel_height: int
pixel_width: int
translucent: bool