Save JPG in progressive format

前端 未结 2 1914
北恋
北恋 2021-01-02 16:39
 _
Public Sub Save(ByVal b As Bitmap, ByVal FileName As String, ByVal Compression As Long, ByVal MimeType As String)
    Dim Params As EncoderPara         


        
2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-02 17:18

    I suppose to use jpegtran utility as described in Image Optimization, Part 4: Progressive JPEG…Hot or Not? article:

    jpegtran -copy none -progressive input.jpg output.jpg
    

    In addition you can optimize Haffman tables by such way:

    jpegtran -copy none -optimize input.jpg output.jpg
    

提交回复
热议问题