A robust script to resize NASA images for Screen Savers or Notebook Covers, optimized for the BOOX Note Max's 13.3" screen.
This script converts high-resolution, portrait-oriented images—like NASA's Visions of the Future posters—into BOOX-ready 3200×2400 JPEGs optimized for ePaper displays.
The original idea came from this Reddit post, which resized NASA posters for older BOOX devices. This script improves upon that with:
- Linux compatibility (vs Windows batch)
- 13.3" BOOX Note Max support (3200×2400 at 300 ppi)
- Flexible options for color/grayscale and custom resolutions
- Better image processing that preserves details
- Robust error handling and user confirmation
- Smart grayscale conversion with detail preservation and Floyd-Steinberg dithering
- No cropping or distortion - images fit perfectly with padding
- Color mode option for color e-readers
- Custom resolution support for any e-ink device
- Dry-run mode to preview settings before processing
- Batch processing with progress feedback
- Quality control with adjustable JPEG compression
chmod +x convert_to_booxmax.sh
./convert_to_booxmax.sh./convert_to_booxmax.sh [OPTIONS] [WIDTH HEIGHT]
OPTIONS:
--color, -c Use color mode (default: grayscale)
--quality, -q JPEG quality 1-100 (default: 75)
--dry-run Show configuration without processing
--yes, -y Skip confirmation prompt
--help, -h Show helpDefault (grayscale for Note Max):
./convert_to_booxmax.shColor mode:
./convert_to_booxmax.sh --colorCustom resolution (Nova Air C 7.8"):
./convert_to_booxmax.sh 1404 1872Tab Ultra (10.3") with color:
./convert_to_booxmax.sh --color 1872 1404Check settings before processing:
./convert_to_booxmax.sh --dry-run --color 2400 3200Batch processing without prompts:
./convert_to_booxmax.sh --yes --quality 85Input: .jpg, .jpeg, .png (including uppercase)
Output: High-quality JPEG with _booxmax.jpg suffix
For older/low-resolution posters, consider upscaling first with Upscayl using 2x-3x Digital Art model if you notice bars or stretching.
- ImageMagick (
magickcommand) - Bash shell
- Image files in current directory

