#!/bin/bash
for file in ./*.pdf
do
echo "$file"
gs -o black+white.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sColorConversionStrategy=Gray -sColorConversionStrategyForImages=Gray -sProcessColorModel=DeviceGray "$file"
mv black+white.pdf "blackwhite/$file"
done
将文件夹下所有pdf变成黑白的脚本
最新推荐文章于 2022-07-07 16:10:46 发布