MozTW 討論區 https://forum.moztw.org/ |
|
JPEG 對 PNG ,壓縮能力比一比。 https://forum.moztw.org/viewtopic.php?f=8&t=23563 |
第 3 頁 (共 4 頁) |
發表人: | roytam1 [ 2008-07-22, 17:10 ] |
文章主題 : | |
goldie 寫: roytam1 寫: 看清楚我不是跑advpng而是advdef啊。 我的optipng有加patch,會做2-bytes lazy matching以達到更高壓縮率,而advdef和deflopt是用作優化optipng和pngout啦。 optipng和pngout兩個各有優勢,所以advdef和deflopt也得跑兩次。 謝謝講解 大感恩 我再自己慢慢研究看看 ---- 要跑這麼多回,這下子讓我更想換電腦了 XDDDD.... |
發表人: | wini [ 2008-07-22, 17:12 ] |
文章主題 : | |
abev66 寫: Anonymous 寫: 我說的是jpeg壓縮方法設計的目的, 我覺得 JPEG 失真最嚴重的應該是紅色吧? 不知道是不是軟體的問題,每次用 JPEG 壓縮我都會發現紅色變得很難看,還有就是 JPEG 的壓縮原理在我的感覺裡會造成那張圖很像很老舊變質的紙張.... 囧"比如壓全彩圖通常一開始就先分離亮度與顏色, 然後直接砍掉一半的顏色資料了, 這就是因為眼睛對亮度比顏色敏感而想的方法; 當然人畢竟是有個體差異, 有人的眼睛還是比較利的。 也許是我太敏感吧.... 如果可以不比對原圖,也看得出來顏色變暗、色度變少之類的,那應該是腦中已經知道原圖大概會怎樣吧,至少我提供的那張圖,轉成 jpg 後沒跟原圖比對,我沒法馬上發現視窗標題列有變暗淡。(不過大多數時候能分辨差距多大也多少跟螢幕有關,說到這又好想買校色器了呀。) |
發表人: | abev66 [ 2008-07-22, 17:50 ] |
文章主題 : | |
wini 寫: 如果可以不比對原圖,也看得出來顏色變暗、色度變少之類的,那應該是腦中已經知道原圖大概會怎樣吧,至少我提供的那張圖,轉成 jpg 後沒跟原圖比對,我沒法馬上發現視窗標題列有變暗淡。(不過大多數時候能分辨差距多大也多少跟螢幕有關,說到這又好想買校色器了呀。) 的確.... JPEG 最讓我不慣的就是色彩變暗淡......
|
發表人: | Amauds [ 2008-07-22, 20:04 ] |
文章主題 : | |
wini 寫: 那應該是腦中已經知道原圖大概會怎樣吧
大腦果然是最佳圖像壓縮程式. ....我是來 亂 的 |
發表人: | goldie [ 2008-07-23, 23:30 ] |
文章主題 : | |
roytam1 寫: 跑 -o7 optipng要試1028次啦…其實很沒必要啦。
再請問一下…為何是用 AdvDef 而不是用 AdvPNG 呢? |
發表人: | roytam1 [ 2008-07-24, 11:13 ] |
文章主題 : | |
goldie 寫: roytam1 寫: 跑 -o7 optipng要試1028次啦…其實很沒必要啦。 再請問一下…為何是用 AdvDef 而不是用 AdvPNG 呢? AdvPNG 的 png 優化沒 optipng/pngout 好啦。 反而是 advdef 光做 deflate stream 優化有時會比 optipng/pngout 好啦。 |
發表人: | goldie [ 2008-07-24, 12:17 ] |
文章主題 : | |
roytam1 寫: AdvPNG 的 png 優化沒 optipng/pngout 好啦。
反而是 advdef 光做 deflate stream 優化有時會比 optipng/pngout 好啦。 這麼一說終於… 豁然開朗 那麼… 你的 code 我就不客氣拿來用啦! 感恩,謝謝 |
發表人: | vector [ 2008-07-31, 05:54 ] |
文章主題 : | |
PNG好看沒有理由~BMP我都轉PNG的。 ACDSee批次轉換還不錯,碰到外文用Asampoo。 |
發表人: | ants [ 2008-08-03, 18:50 ] |
文章主題 : | |
From my old post in SillyDog701 Message Centre. Based on the same screenshot. Fetch Software website, resized to 400x308 pixels, JPEG, quality: 10%, filesize: 13.0kb The quality is this one is obvious out of acceptable in most situation. However, 10% quality is still good enough for thumbnails. Fetch Software website, resized to 400x308 pixels, JPEG, quality: 30%, filesize: 20.1kb The picture quality is considered acceptable in most cases unless detail of the content is required. Fetch Software website, resized to 400x308 pixels, JPEG, quality: 60%, filesize: 32.7kb The picture quality has improved at a cost of 12.6kb larger file. It is a decision of web designers to decide how much detail is required, and how important is the "detail". Fetch Software website, resized to 400x308 pixels, PNG, filesize: shocking 84.2kb It's very hard (for more people) to notice the additional benefit over the JPEG in 60% quality in terms of picture quality. (Okey, this picture looks a bit lighter, due to different compression used.) The filesize is simply unacceptable in most cases. To me, I really don't see the point of having pictures/screenshots in lossless. As long as the information is legible, some compression is fine. |
發表人: | 訪客 [ 2008-08-03, 21:02 ] |
文章主題 : | |
上面的那個圖, 漸層太多,顏色數太多,沒有對比大的邊緣, 本來就適合jpeg了吧。 不過看不到字的抓圖, 對問問題幫助可能不大。 |
發表人: | wini [ 2008-08-03, 21:49 ] |
文章主題 : | |
ants 寫: To me, I really don't see the point of having pictures/screenshots in lossless. As long as the information is legible, some compression is fine.
因為我覺得,錯誤訊息自己動手打出來,會比貼圖更省讀取時間;但真的要貼圖的話,可以稍微注意一下怎樣把圖弄更小,但又不要破壞太大,還有讓人看得出你圖片的重點來。總之只是偶爾想到,就拿出來提一下,沒打算太認真要求別人這樣做。 不過你那張縮圖,我把小狗那塊填成灰色,png 壓了還是縮不小;而我測試用 png 壓漸層也比 jpeg 壓得小,搞不太清楚是哪些地方不適合用 png 來壓呀……該不會是工具列圖示? |
發表人: | raw&png&cmyk [ 2009-08-31, 17:42 ] |
文章主題 : | Re: JPEG 對 PNG ,壓縮能力比一比。 |
http://www.csie.nctu.edu.tw/~zlxuan/tech/png.html http://windowshelp.microsoft.com/Window ... 41028.mspx |
發表人: | orange [ 2009-09-22, 09:58 ] |
文章主題 : | Re: |
wini 寫: 不過你那張縮圖,我把小狗那塊填成灰色,png 壓了還是縮不小;而我測試用 png 壓漸層也比 jpeg 壓得小,搞不太清楚是哪些地方不適合用 png 來壓呀……該不會是工具列圖示? 跟顏色的量有很大的關係吧? ants 寫: To me, I really don't see the point of having pictures/screenshots in lossless. As long as the information is legible, some compression is fine. 對我來說 png 無失真儲存方式 不是很大的誘因 (所以將png作減色我也可以接受,但也不要太誇張到顏色黯淡) 而是png 沒有JPEG 特產(慘?) ring effect,這個優點很吸引我 尤其jpeg 在細節部份幾乎因為這ring effect 就糊成一團 像那60%圖的字就是這個狀況(不過圖縮小了字都擠在一塊 其實連PNG無失真其實也蠻難看出來) JPEG品質高一點比較能接受但這也要在85%以上(有時候到90% ring effect 還是很明顯) 所以...除非必要能不用就不用 -- ring effect:用來凸顯 邊緣對比的小亮點 |
發表人: | roytam1 [ 2011-04-11, 12:55 ] |
文章主題 : | Re: |
roytam1 寫: goldie 寫: 原來還可以先用AdvanceCOMP壓縮,之前一直只用OptiPNG catho7 寫: 原來還可以先用OptiPNG壓縮,之前一直只用AdvanceCOMP 我剛好跟你相反 XD 這是我家的玩法 XD 代碼: @echo off for %1 %%i in (*.png) do ( touch -r "%%~i" "%%~i.time" optipng -zw32k -zc9 -zm9 -zs0,3 -f0,5 -i0 "%%~i" advdef -z -4 "%%~i" deflopt -b "%%~i" pngout /y /b0 "%%~i" advdef -z -4 "%%~i" deflopt -b "%%~i" touch -r "%%~i.time" "%%~i" if exist "%%~i.time" del "%%~i.time" ) 不好意思我要推一下舊文了。 新的 pngopt suite 放出了 XD http://rtfreesoft.blogspot.com/2011/04/ ... 04-11.html |
發表人: | goldie [ 2011-04-11, 20:45 ] |
文章主題 : | Re: Re: |
roytam1 寫: 很久不見^^,還是讓我等到你的更新了。 哈哈! |
第 3 頁 (共 4 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |