Last active 2 weeks ago
Fast parallel image processing script to crop whitespace and resize images. Removes white space from left and right, ensures minimum height and/or width. Uses multiprocessing for high-speed batch processing of large image collections.
1 #!/usr/bin/env python3
2 """
3 Fast parallel image processing script to crop whitespace and resize images.
4 Removes white space from left and right, ensures minimum height and/or width.
5 Uses multiprocessing for high-speed batch processing of large image collections.
6 """
7
8 import os
9 import sys
10 from pathlib import Path
Newer Older