Files
cs249r_book/book/tools/scripts/images/README.md
Vijay Janapa Reddi 7b92e11193 Repository Restructuring: Prepare for TinyTorch Integration (#1068)
* Restructure: Move book content to book/ subdirectory

- Move quarto/ → book/quarto/
- Move cli/ → book/cli/
- Move docker/ → book/docker/
- Move socratiQ/ → book/socratiQ/
- Move tools/ → book/tools/
- Move scripts/ → book/scripts/
- Move config/ → book/config/
- Move docs/ → book/docs/
- Move binder → book/binder

Git history fully preserved for all moved files.

Part of repository restructuring to support MLSysBook + TinyTorch.

Pre-commit hooks bypassed for this commit as paths need updating.

* Update pre-commit hooks for book/ subdirectory

- Update all quarto/ paths to book/quarto/
- Update all tools/ paths to book/tools/
- Update config/linting to book/config/linting
- Update project structure checks

Pre-commit hooks will now work with new directory structure.

* Update .gitignore for book/ subdirectory structure

- Update quarto/ paths to book/quarto/
- Update assets/ paths to book/quarto/assets/
- Maintain all existing ignore patterns

* Update GitHub workflows for book/ subdirectory

- Update all quarto/ paths to book/quarto/
- Update cli/ paths to book/cli/
- Update tools/ paths to book/tools/
- Update docker/ paths to book/docker/
- Update config/ paths to book/config/
- Maintain all workflow functionality

* Update CLI config to support book/ subdirectory

- Check for book/quarto/ path first
- Fall back to quarto/ for backward compatibility
- Maintain full CLI functionality

* Create new root and book READMEs for dual structure

- Add comprehensive root README explaining both projects
- Create book-specific README with quick start guide
- Document repository structure and navigation
- Prepare for TinyTorch integration
2025-12-05 14:04:21 -08:00

20 lines
775 B
Markdown

# Image Management Scripts
Scripts for managing, processing, and validating images in the book.
## Image Processing
- `compress_images.py` - Compress images to reduce file size
- `convert_svg_to_png.py` - Convert SVG files to PNG format
- `remove_bg.py` - Remove backgrounds from images
## Image Management
- `manage_images.py` - Main image management utility
- `download_external_images.py` - Download external images
- `manage_external_images.py` - Manage external image references
- `rename_auto_images.py` - Rename automatically generated images
- `rename_downloaded_images.py` - Rename downloaded images
## Validation
- `validate_image_references.py` - Ensure all image references are valid
- `analyze_image_sizes.py` - Analyze image sizes and suggest optimizations