add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,29 +1,29 @@
# sips
> 苹果的处理文件脚本系统。
> 光栅 / 查询图像 颜色同步 ICC 配置文件。
> 更多信息:<https://keith.github.io/xcode-man-pages/sips.1.html>.
> 苹果脚本可处理图像系统。
> 栅格/查询图像和 ColorSync ICC 配置文件。
> 更多信息:<https://keith.github.io/xcode-man-pages/sips.1.html>
- S 指定一个输出目录,这样原始文件就不会被修改
- 指定输出目录,以便不修改原始文件
`sips --out {{目标 / 文件夹 / 输出文件夹}}`
`sips --out {{path/to/out_dir}}`
- 指定大小对图像重新采样图像纵横比可能会更改
- 指定大小重新采样图像,可能会改变图像的纵横比:
`sips --resampleHeightWidth {{1920}} {{300}} {{图片文件。扩展名}}`
`sips --resampleHeightWidth {{1920}} {{300}} {{image_file.ext}}`
- 对图像重新取样,使高度和宽度不大于指定大小(注意大写 Z
- 重新采样图像,使高度和宽度不超过指定大小(注意大写 Z
`sips --resampleHeightWidthMax {{1920}} {{300}} {{图片文件。扩展名}}`
`sips --resampleHeightWidthMax {{1920}} {{300}} {{image_file.ext}}`
- 目录中的所有图像重新取样,以适应 960px 的宽度(保持纵横比):
- 目录中的所有图像重新采样以适应宽度为 960 像素(遵循纵横比):
`sips --resampleWidth {{960}} {{目标 / 文件夹 / 所有图片文件}}`
`sips --resampleWidth {{960}} {{path/to/images}}`
- 将图像从 CMYK 转换为 RGB
`sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{目标 / 文件夹 / 图片。扩展}} {{目标 / 文件夹 / 输出文件夹}}`
`sips --matchTo "/System/Library/ColorSync/Profiles/Generic RGB Profile.icc" {{path/to/image.ext}} {{path/to/out_dir}}`
- 从图像中删除 ColorSync ICC 配置:
- 从图像中删除 ColorSync ICC 配置文件
`sips --deleteProperty profile --deleteColorManagementProperties {{目标 / 文件夹 / 图片。扩展}}`
`sips --deleteProperty profile --deleteColorManagementProperties {{path/to/image_file.ext}}`