Noleli’s avatarNoleli’s Twitter Archive—№ 30,458

  1. The macOS command line screencapture utility can’t output to stdout and for some reason fails using process substitution (e.g., screencapture >(magick) ). Does anyone have suggestions to avoid using a temp file? Want to avoid the performance hit of from file IO.
    1. …in reply to @Noleli
      You can tell screencapture to output to the clipboard, so I was able to speed things up using jcsalterego’s nifty pngpaste utility, but that means my script overwrites clipboard contents, which I’d rather it not do