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

简介

OptiPNG是一个PNG优化器,可将图像文件重新压缩为更小的尺寸,而不会丢失任何信息。该程序还可以将外部格式(BMP,GIF,PNM和TIFF)转换为优化后的PNG,并执行PNG完整性检查和更正。

编译配置流程

1.编译和安装

CentOS7.6中自带OptiPNG安装包,直接使用yum命令安装。

yum install optipng -y

回显信息如下,则OptiPNG安装完成。

Installed:

optipng.aarch64 0:0.7.4-4.el7                                                                                               

Complete!

2.运行和验证

查询OptiPNG版本号。

optipng --version

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

OptiPNG version 0.7.4
Copyright (C) 2001-2012 Cosmin Truta and the Contributing Authors.
This program is open-source software. See LICENSE for more details.
Portions of this software are based in part on the work of:
Jean-loup Gailly and Mark Adler (zlib)
Glenn Randers-Pehrson and the PNG Development Group (libpng)
Miyasaka Masaru (BMP support)
David Koblas (GIF support)
Using libpng version 1.5.13 and zlib version 1.2.7
上一篇:查询指定的storageclassreadStorageV1StorageClass 下一篇:什么是智能合约