# removing-notebooklm > Remove the NotebookLM watermark from PDFs (presentations) and images (infographics) automatically. Use when the user wants to remove the NotebookLM watermark, eliminar el watermark, quitar la marca de agua. - Author: Jacobo Palacios Iglesias - Repository: Jacopalas/agentic-ai-palas - Version: 20260131194759 - Stars: 1 - Forks: 1 - Last Updated: 2026-02-06 - Source: https://github.com/Jacopalas/agentic-ai-palas - Web: https://mule.run/skillshub/@@Jacopalas/agentic-ai-palas~removing-notebooklm:20260131194759 --- --- name: removing-notebooklm description: Remove the NotebookLM watermark from PDFs (presentations) and images (infographics) automatically. Use when the user wants to remove the NotebookLM watermark, eliminar el watermark, quitar la marca de agua. --- # /removing-notebooklm — Remove NotebookLM Watermark Remove the NotebookLM watermark from PDFs and images automatically. ## Usage ```text /removing-notebooklm [--output ] ``` **Arguments:** - `file` (Required): Input file to process - **PDF**: Multi-page presentations (e.g., `presentation.pdf`) - **PNG/JPG**: Single images/infographics (e.g., `infographic.png`) - `--output` (Optional): Custom output path (default: `{name}_clean.{ext}`) **No argument = show this usage.** ## Prerequisites **Run initializing-environment first** to ensure Python environment is ready. Tools required in `.claude/_tooling/.venv/`: - `Pillow` — Image processing - `pymupdf` — PDF processing - `opencv-python` — Inpainting algorithm ## Command ```bash # Default output (adds _clean suffix) .claude/_tooling/.venv/Scripts/python.exe .claude/skills/removing-notebooklm/scripts/removing-notebooklm.py "" # Custom output path .claude/_tooling/.venv/Scripts/python.exe .claude/skills/removing-notebooklm/scripts/removing-notebooklm.py "" --output "" ``` ## Examples ```text /removing-notebooklm presentation.pdf → Creates presentation_clean.pdf /removing-notebooklm infographic.png → Creates infographic_clean.png /removing-notebooklm input.pdf --output final.pdf → Creates final.pdf ``` ## Output Format ```text Processing PDF: presentation.pdf Pages: 12 Page 1/12 Page 2/12 ... Page 12/12 Saved: presentation_clean.pdf ✅ Done ``` ## How It Works ### Watermark Specifications | Property | Value | | ------------- | ----------------------- | | Size | 194 x 28 pixels (at 2x) | | Position | Bottom-right corner | | PDF margins | 18px right, 16px bottom | | Image margins | 9px right, 10px bottom | ### Inpainting Algorithm Uses OpenCV's Telea inpainting algorithm to seamlessly reconstruct the background: - Creates a mask over the watermark area - Propagates surrounding pixels into the masked region - Works with complex backgrounds (textures, patterns, gradients) ### Supported Formats | Type | Extensions | Processing | | ----- | -------------- | ----------- | | PDF | `.pdf` | All pages | | Image | `.png`, `.jpg` | Single file | ## Behavior 1. **Check argument**: If no file provided, show usage and exit 2. **Run initializing-environment**: Ensure Python environment is ready 3. **Validate file**: Check file exists and format is supported 4. **Process file**: Remove watermark using appropriate method 5. **Save output**: `{original_name}_clean.{extension}` ## Notes - Output file is saved in the same directory as input - Original file is not modified - Requires: Python environment (handled by initializing-environment)