华为云计算 云知识 JpegOptim是什么
JpegOptim是什么

​简介

JpegOptim是用于优化jpeg文件的实用程序,提供无损优化(基于优化霍夫曼表)和基于设置最大品质因数的“有损”优化。 

配置安装方法

1.编译和安装

CentOS 7.6中自带JpegOptim安装包,直接使用yum命令安装。

yum install jpegoptim -y

回显信息如下,则JpegOptim安装完成:

Installed:
jpegoptim.aarch64 0:1.4.6-1.el7                                                                                            
Complete!

2.运行和验证

查询JpegOptim版本号。

jpegoptim --version

回显信息如下,则表示JpegOptim安装成功。

jpegoptim v1.4.6  aarch64-redhat-linux-gnu
Copyright (C) 1996-2018, Timo Kokkonen
This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistirbute it under certain conditions.
See the GNU General Public License for more details.
libjpeg version: 6b  27-Mar-1998
Copyright (C) 1991-2012 Thomas G. Lane, Guido Vollbeding
Copyright (C) 1999-2006 MIYASAKA Masaru
Copyright (C) 2009 Pierre Ossman for Cendio AB
Copyright (C) 2009-2013 D. R. Commander
Copyright (C) 2009-2011 Nokia Corporation and/or its subsidiary(-ies)
上一篇:分布列选择的原则有哪些 下一篇:入侵检测的流程