37 lines
1.4 KiB
Markdown
37 lines
1.4 KiB
Markdown
# PPTX Image Compressor (CaesiumCLT only)
|
||
**Version 1.0.0**
|
||
|
||
Ein CLI‑Tool, das **PPTX-Dateien** entpackt, alle Bilder in `ppt/media` mit **CaesiumCLT** komprimiert und anschließend wieder zu einer PPTX packt.
|
||
Es ersetzt nur dann Bilder, **wenn die komprimierte Version kleiner ist**, schreibt ein **CSV-Log** und zeigt eine **Fortschrittsanzeige** sowie eine **Summary inkl. Laufzeit** an.
|
||
|
||
---
|
||
|
||
## Features
|
||
- **Nur CaesiumCLT** als Bildkompressor (keine Pillow-Abhängigkeit).
|
||
- Unterstützte Bildtypen: **JPG/JPEG, PNG, WebP** (GIF wird übersprungen).
|
||
- **Overwrite-Policy:** `-O bigger` (nur überschreiben, wenn Ziel größer ist).
|
||
- **Multi-Threading**: Parallele Bildverarbeitung.
|
||
- **Log** (`.log` neben der Output-Datei) mit:
|
||
`image_name,size_before,size_after,saving,saving_percent`.
|
||
- **Sauberes Cleanup**: Keine Caesium-Tempdateien in der finalen PPTX.
|
||
|
||
---
|
||
|
||
## Systemvoraussetzungen
|
||
- **Windows 10/11 (64-bit)**
|
||
- **Keine Admin-Rechte erforderlich**
|
||
- **CaesiumCLT** (portabler Download)
|
||
- **Python** (portabel, ohne Installation) **oder** fertige EXE
|
||
|
||
---
|
||
|
||
## Installation & Setup
|
||
|
||
### 1) CaesiumCLT installieren
|
||
1. Lade **CaesiumCLT** von GitHub herunter:
|
||
[https://github.com/Lymphatus/caesium-clt/releases](https://github.com/Lymphatus/caesium-clt)
|
||
2. Entpacke `caesiumclt.exe` in einen Ordner, z. B. `C:\Tools\caesiumclt`.
|
||
3. Füge den Ordner temporär zum PATH hinzu (optional):
|
||
```bat
|
||
set PATH=C:\Tools\caesiumclt;%PATH%
|
||
``` |