문제

Trying to resize some imgs for web project direct from command line. I'm no terminal expert, but I normally use sips -z maxWidth# nameofimg.jpg"

What I typed here:

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

I am in the correct directory, and have a file name slideshow1.jpg in there. What else could be going wrong? Thanks in advance for help.

도움이 되었습니까?

해결책

From the manpage we can see that there are two versions, -z and -Z.

sips -z pixelsH pixelsW
sips -Z pixelsWH
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top