sips

苹果的处理文件脚本系统。 光栅 / 查询图像 和 颜色同步 ICC 配置文件。 更多信息:https://keith.github.io/xcode-man-pages/sips.1.html.

sips --out {{目标 / 文件夹 / 输出文件夹}}

sips --resampleHeightWidth {{1920}} {{300}} {{图片文件。扩展名}}

sips --resampleHeightWidthMax {{1920}} {{300}} {{图片文件。扩展名}}

sips --resampleWidth {{960}} {{目标 / 文件夹 / 所有图片文件}}

sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{目标 / 文件夹 / 图片。扩展}} {{目标 / 文件夹 / 输出文件夹}}

sips --deleteProperty profile --deleteColorManagementProperties {{目标 / 文件夹 / 图片。扩展}}