export_jpg module

class ooodev.write.filter.export_jpg.ExportJpg(pixel_width, pixel_height, logical_width=-1, logical_height=-1, quality=75, color_mode=True)[source]
Parameters:
  • pixel_width (int) –

  • pixel_height (int) –

  • logical_width (int) –

  • logical_height (int) –

  • quality (int) –

  • color_mode (bool) –

class ooodev.write.filter.export_jpg.ExportJpgT(*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.

  • quality: Compression value from 1 to 100. Higher Quality, larger file size. Default is 75.

  • color_mode: Color Mode.

color_mode: bool
logical_height: int
logical_width: int
pixel_height: int
pixel_width: int
quality: int