문제

I recently installed imagemagick over macports to automatically crop images, but while the command works in terminal, it doesn't work in geektool. I tried using automator, but it doesn't work there either. Here's the code:

convert -crop 455x140+240+430 /Library/Desktop\ Pictures/Halo/Halo_Stats-full.png /Library/Desktop\ Pictures/Halo/Halo_Stats_Cropped.png

Any ideas why this isn't working? Thanks.

도움이 되었습니까?

해결책

It's probably a path issue. If you type

which convert

At the terminal, I will give you the full path to convert. You should be able to use that whole string as the command instead of just "convert"

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