![](/img/trans.png)
[英]Piping an image retrieved using curl to sips to change format without saving intermediate file
我有 url 個指向我想從 inte.net 檢索的圖像文件的鏈接。 我可以使用curl下載文件而不會出現問題: 圖像文件有多種類型,有些是.bmp ,有些是.jpg等。我一直在 Mac osx 的終端中使用sip將每個文件轉換為.png文件,使用: 這適用於我保存為downloadedFileNa ...