【问题标题】:Sips command in Terminal not working - "Error 4: no file was specified"终端中的 Sips 命令不起作用 - “错误 4:未指定文件”
【发布时间】:2014-06-26 03:54:28
【问题描述】:

尝试直接从命令行调整 web 项目的一些 img 大小。我不是终端专家,但我通常使用sips -z maxWidth# nameofimg.jpg"

我在这里输入的内容:

mycomputer$ sips -z 650 slideshow1.jpg
Error 4: no file was specified
Try 'sips --help' for help using this tool

我在正确的目录中,其中有一个文件名 slideshow1.jpg。还有什么问题?提前感谢您的帮助。

【问题讨论】:

    标签: linux bash command-line terminal sips


    【解决方案1】:

    manpage我们可以看出有两个版本,-z-Z

    sips -z pixelsH pixelsW
    sips -Z pixelsWH
    

    【讨论】:

      猜你喜欢
      • 2013-04-27
      • 1970-01-01
      • 2017-05-31
      • 2021-06-06
      • 2015-03-14
      • 2018-09-01
      • 2014-05-23
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多