簡體   English   中英

Mozjpeg-漸進式jpeg圖像渲染,首先顯示灰度圖像

[英]Mozjpeg - Progressive jpeg image rendering showing a grayscale image first

我正在使用以下命令使用mozjpeg(cjpeg實用程序)生成漸進式JPEG。

cjpeg -quality 85 -outfile outputfile.jpg inputfile.jpg

渲染此輸出圖像時,首先顯示灰度圖像,然后顯示綠色圖像,然后顯示原始圖像。 經過大量研究后,我發現進行DC系數分割可以減小圖像尺寸。 但是,我需要渲染是模糊的到明亮的。 如何實現呢?

有一個選項:

-dc-scan-opt   DC scan optimization mode
             - 0 One scan for all components
             - 1 One scan per component (default)
             - 2 Optimize between one scan for all components and one scan for 1st component
                 plus one scan for remaining components

默認設置會導致灰度外觀,因為它將亮度與色度分開發送。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM