ubuntu 的 jpegtran 不能用,且 shell 輸出亂碼 - Linux

Table of Contents

我用 ubuntu 10.04 的 libjpeg-progs

其中的 jpegtran 來壓縮 jpg 圖檔:

jpegtran -copy none -progressive ptt.jpg

這麼一跑 shell 便噴出幾頁亂碼,

試了預設的 6b 和最新的 8b 兩個版本都一樣。

如圖
jpegtran 6b
http://www.divshare.com/image/12868653-58e
http://www.divshare.com/image/12868654-432
jpegtran 8b
http://www.divshare.com/image/12868655-4ef
http://www.divshare.com/image/12868656-711
這是處理的原圖
http://www.divshare.com/image/12868657-d31

錯誤訊息
http://www.divshare.com/download/12868689-1c3
http://www.divshare.com/download/12868690-b5a

請問可能是什麼問題呢?

維護 libjpeg 的應該是 http://www.ijg.org/

但也沒看到要去哪求助,還請幫忙。

--

All Comments

Lauren avatarLauren2010-10-19
不用redirect到檔案嗎? jpegs.. -x xxxxxx... >file.jpg
Belly avatarBelly2010-10-23
解決,謝謝樓上,我卡了兩三天
Megan avatarMegan2010-10-27
This file is not available to free users...