How to compress multiple images?

I wish to compress multiple images in writer, calc, etc, I tried everything in the internet:

  1. using chatgpt and deepseek, but no work any code.

  2. is there a youtube video explaining, but this took many time (https://www.youtube.com/watch?v=ozCwvRq73SI)

  3. Compress each image manually, take so many time.

Anyone have any macro / another-method to compress all / selected images?

Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: es-PE (es_PE); UI: en-US
Calc: threaded

What do you want to do?

  • Keep a single occurrence of an image used multiple times in the document?
    LO is quite smart and does that automatically (at least if all occurrences are used the same)
  • Apply some compression algorithm to reduce file size?
    This is usually a bad idea. LO saves the document applying ZIP compression method. If you apply a compression algorithm on an already compressed file, you frequently end up with larger “compressed” result than the already compressed one.
  • Do you want to reduce image quality (because you scale your images as thumbnails and don’t need all details)?
    Do this outside LO in dedicated image processing programs or utility. LO is not an image processing program and provides only basic image service.
1 Like

thanks

I like the extension pictool, but how this tool can compress the images? i do not find such option

the other extension seems to do it.