add new chinese translations
This commit is contained in:
@@ -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}}`
|
Reference in New Issue
Block a user