mozilla install

HDMI接口协议 接口HDMI(High-Definition Multimedia Interface),新一代多媒体接口标准。即高清多媒体接口。它能够同时传输视频和音频,简化了设备的接口和连线;同时提供了更高的数据传输带宽,可以传输无压缩的数字音频及高分辨率视频信号。HDMI 1.0 版本于 2002 年发布,最高数据传输速度为 5Gbps;而2017 年发布的 HDMI 2.1 标准的理论带宽可达 48Gbps。1、能够同时传输视频和音频,简化了设备接口与连线。2、提供了更高的数据传输带宽, 阅读详情

-----------------------------------------------------------------------------------------------------------

扩展知识:

 

webp简介

WebP (发音”weppy”),由google 2010年发布。是一种同时提供了有损压缩与无损压缩的图片文件格式,派生自图像编码格式VP8 。 是由Google购买On2 Technologies后发展出来的格式,以BSD授权条款发布。

目前PC浏览器只有Chrome兼容webp,但移动设备都有兼容webp的方案。

 

webp优缺点

相比JPEG,这种格式可以把图片大小减少40%,而且前整个互联网的流量中有65%为图片。这意味如果Google让这种格式得到普及的话,你浏览网页的速度将大幅提升。

美中不足的是,WebP格式图像的编码时间“比JPEG格式图像长8倍”。

 

案例 

淘宝App大图jpg和webpp格式对比:

jpg图片:87.6k      http://gw2.alicdn.com/bao/uploaded/i2/T1sIPTFB8bXXXXXXXX_!!0-item_pic.jpg

webp图片:17.6k     http://gw2.alicdn.com/bao/uploaded/i2/T1sIPTFB8bXXXXXXXX_!!0-item_pic.jpg_640x640q90.jpg_.webp

 

参考资料 

Google developers webp官方文档 <https://developers.google.com/speed/webp/>

wikipedia-webp <http://en.wikipedia.org/wiki/WebP>  

Google推出新的图片格式WebP,挑战JPEG,让互联网更快 <http://www.36kr.com/p/4963.html>

谷歌WebP图像格式评测:压缩率显著提升 <http://www.csdn.net/article/2010-10-11/280355>

webp 浏览器兼容大全 <http://caniuse.com/webp/>

支持Android4.0以下webp的使用 <http://blog.csdn.net/jiwangkailai02/article/details/17015451>

 





About a month ago Mozilla announced their 'mozjpeg' project with the aim of improving lossless jpeg compression and making the web a faster place. Forked from libjpeg-turbo, mozjpeg is more concerned with reducing filesize than doing it quickly. It uses the same compression process written in a perl script by Loren Merritt called jpegcrush and claims to be able to reduce jpeg size by 10% on average.

So, it sounds pretty good and you want to save some bandwidth and give mozjpeg a go. With a lack of an auto-install option using a repository like APT you will need to build it from source which sounds complicated but is actually pretty easy as I show.


Full build instructions can be found in the build instructions file in the github repo. These are very comprehensive and cover all "Un*x Platforms (including Cygwin and OS X)". This guide aims to simplify the process by giving step by step guide for building on Ubuntu 12.04 (and should be portable for other versions of Ubuntu and probably other flavours of Linux as well with a some minor changes).

Download Source

First you need to download the source.

You can either use a release version which should be stable and ready for production use from the list of release archives and download the latest version and extract it (v1.0.1 is the latest version at time of writing):

wget https://github.com/mozilla/mozjpeg/archive/v1.0.1.tar.gz
tar -xvf v1.0.1.tar.gz

Alternatively, if you want the latest cutting edge version you can clone the github repository directly:

sudo apt-get install git
git clone https://github.com/mozilla/mozjpeg.git

Install Requirements

Building mozjpeg requires the following programs to be installed:

  • autoconf 2.56 or later
  • automake 1.7 or later
  • libtool 1.4 or later
  • NASM 0.98 or later
  • make

You can go ahead and install them like so:

sudo apt-get install autoconf automake libtool nasm make

Building

Once the source has been downloaded and extracted, navigate to the extracted contents directory. Next running autoreconf will to build the configure file. Then create a build directory inside the source and navigate to it. Once in the build directory, runconfigure which will generate the Makefile which is used to install the final program using make install and is run as sudoso it has permission to put the installation in /opt.

cd mozjpeg-1.0.1
autoreconf -fiv
mkdir build && cd build
sh ../configure
sudo make install 

Usage

Following the above instructions will install mozjpeg in /opt/libmozjpeg and it can be used by calling jpegtran in the bin directory:

/opt/libmozjpeg/bin/jpegtran -copy none image.jpg > compressed.jpg

However, I find it easier to add the command to my local path so it can be accessed anywhere. Also, as it shares it's namings with libjpeg-turbo, renaming it to something like mozjpeg makes it more convenient to use and remember, especially if you already have libjpeg-turbo installed:

sudo ln -s /opt/libmozjpeg/bin/jpegtran /usr/local/bin/mozjpeg

After adding this link you can use mozjpeg from anywhere easily and conveniently:

mozjpeg -copy none image.jpg > compressed.jpg

And there you have it, mozjpeg installed on your system ready to save you bandwidth and speed up your website!

图像去模糊(二)——Richardson–Lucy算法 Richardson Lucy Algorithm(Richardson-Lucy算法详解及效果实例) 阅读详情

相关推荐

基于smart_rtmp直播,最简单的部署手册

版本号 添加内容 修改时间 V1.0 新建 2021年12月30日 V1.1 增加网页播放 2021年12月31日 V1.2 增加是否可以多流和测试数据 2022年1月5日 目录 一、软件储备 1.推流软件:OBS 2.服务器流媒体软件:smart_rtmp 3.播放软件:Pot...

qq_28768477的博客 1万+

android launcher详解_启动优化详解

Android启动优化应用的启动是给客户的第一体验,就像相亲的时候,第一印象是最重要的(?,我没相过亲,反正他们都那么说)。如果我们的应用启动比较慢的话,哪怕应用内容很丰富,也很难再建立一个完美的形象了。基础知识Android启动优化启动流程之前发布过一些列和应用启动相关的文章。Android启动流程源码解析(一)Android启动流程源码解析(二)Android的inflate源码详解...

weixin_39787397的博客 1406

手把手教你用Qt5打造二次元游戏启动器(附鸣潮同款UI源码)

本文详细介绍了如何使用Qt5框架从零开始构建一个功能完整、UI风格贴近《鸣潮》的二次元游戏启动器。教程涵盖无边框窗口、动态背景、自定义控件绘制、多线程资源加载以及下载管理等核心模块的实现,并提供了可运行的源码参考,帮助C++开发者和Qt爱好者深入掌握现代桌面应用开发技术。

weixin_29291863的博客 269

Git 存储位置,add,commit,push的区别

首先要知道工作区,暂存区 ,本地仓库和远程仓库 暂存区:每一次进行代码修改的地方,暂不属于某个分支,可将修改的内容暂存后再恢复 运用场景 :比如,当正在dev分支上开发某个项目,这时项目中出现一个bug,需要紧急修复,但是正在开发的内容只是完成一半,还不想提交,这时可以用git stash命令将修改的内容保存至堆栈区,然后顺利切换到hotfix分支进行bug修复,修复完成后,再次切回到dev分支,从堆栈中恢复刚刚保存的内容。 或许由于疏忽,本应该在dev分支开发的内容,却在master上进行了开发,需

fengdakailai的博客 625

告别混乱!AutoSar BswM模式管理实战:手把手教你配置Rule与ActionList(附避坑指南)

本文详细解析了AutoSar BswM模式管理的实战配置,重点介绍了Rule与ActionList的高效组合方法,帮助开发者避免常见陷阱。通过具体案例演示了从基础到复杂的配置步骤,包括模式仲裁、逻辑表达式构建及ActionList优化策略,提升汽车电子系统的协调性与可靠性。

weixin_27066963的博客 264

ArcMap新手必看:5分钟搞定面要素的四至信息提取(附字段重命名技巧)

本文为ArcMap新手提供了快速提取面要素四至信息的详细教程,包括数据准备、坐标系选择、批量处理技巧及字段重命名优化方案。通过实战步骤和Python脚本示例,帮助用户高效完成GIS数据处理任务,特别适合行政区划数据分析和报告生成。

weixin_29266007的博客 389

DL-FWI 方向 bibitem

摘要: 本贴给出 DL-FWI 方向常用的论文列表, 原始文件由孙钰整理.

minfanphd的博客 842

103、模拟增益vs数字增益:信噪比、动态范围与噪声放大的权衡艺术及调试陷阱

摘要 本文深入探讨了模拟增益与数字增益在图像处理中的差异及其对信噪比、动态范围和噪声放大的影响。作者通过实际案例揭示了数字增益可能导致的噪点放大问题,分析了模拟增益在物理层面对信号和噪声的放大机制,以及数字增益对量化噪声的影响。文章详细比较了两种增益方式下信噪比的变化曲线,指出数字增益会平方放大量化噪声的致命缺陷。此外,作者总结了常见的调试陷阱,并提供了针对不同光照场景的增益分配策略建议。最后强调调试时应优先考虑模拟增益,严格控制数字增益幅度,并配合降噪算法优化以获得最佳图像质量。

zzfmlxs的博客 51

ubuntu Mozilla Firefox install flash plugin 火狐浏览器安装flash插件

因为火狐浏览器默认不支持flash,所以要自己安装flash插件。看到网上资料说要去官网下载插件再用软件中心打开安装,其实不用的,直接在软件中心搜索flash第一个就时 flash for Mozilla 直接点击 install就可以了。。中间会弹出输入密码就OK 了。。 转载于:https://www.cnblogs.com/Aiziyou/p/3722776.html...

220

CQE和SQE 以及 PQA和DQA的区别

‌:PQA聚焦产品全生命周期流程管理,DQA专注于设计阶段的质量控制。

a1809032425的博客 1915

SCADA|RESTful学习,Apipost通过GET获取KingSCADA实时数据

本文介绍了如何使用RESTful实现SCADA与MES系统对接。主要包括:1)对比RESTful与其他协议的性能指标;2)KingSCADA作为Server/Client的三种应用场景;3)详细演示KingSCADA3.8作为Server端的配置过程,包括端口设置和API测试。通过Apipost工具测试获取变量值及数据回写接口,其中数据回写需使用MD5加密密码。文章最后指出回写测试失败的情况,但未分析具体原因。全文以实际工程应用为导向,提供了具体操作步骤和技术细节。

做有价值的事,积累有价值的笔记! 635

fedora15 install Mozilla Thunderbird

1.下载: http://www.mozilla.org/zh-CN/thunderbird/ 得到 thunderbird-7.0.1.tar.bz2 2.解压 可以解压到任意目录 /opt 或者 /usr/local/lib sudo tar -xvf thunderbird-7.0.1.tar.gz /usr/local/lib 3.修改 thunderbird

Tinom`s blog 653

基于Scrapy+Playwright的学术会议信息智能爬取系统实战

本文详细介绍如何使用Python构建一个高效的学术会议信息爬取系统,结合Scrapy框架和Playwright无头浏览器技术,实现对全球学术会议数据的自动化采集、清洗和存储。文章包含完整的技术方案设计、代码实现细节以及性能优化策略,可帮助读者快速掌握现代网络爬虫开发的核心技术。关键词:Python爬虫、Scrapy、Playwright、学术会议、数据采集、反爬对抗python复制下载。

2201_76125261的博客 713

How to install rstp protocol to mozilla.

google a solution for Mozilla: have fun!yay...found a fix!!! heres the process for future reference.go to the firefox cofiguration by typing "about:config" in the adress bar. thenright-cl

hongjq的专栏 800

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

linux/ubuntu mozilla install adobe flash player 简明教程

1. http://get.adobe.com/cn/flashplayer/ 选择.tar.gz下载 2. j

u012525920的专栏 575

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

how to install flash player for Mozilla firefox on Kali linux 2.0

how to install flash player for Mozilla firefox1. download the flash tar.gz package from https://get.adobe.com/flashplayer/download/?installer=FP_11.2_for_other_Linux_64-bit_%28.tar.gz%29_-_NPAPI&stand

Welcome to Feng.Chang's Blog 1271

数学建模模型总结

这是本人在两年内准备参加数学建模竞赛搜集到的模型资料,已经经过了本人的筛选和整理,希望能够对准备参加数学建模竞赛的学弟学妹们提供一些帮助!

浅谈基于Mozilla ThunderBird的扩展开发

我目前主要从事基于Mozilla ThunderBird邮件客户端的扩展开发,可惜国内对于基于Mozilla平台的扩展开发关注度很小,而且其中大部分都是做基于firefox下的扩展。当然不可否认的是,其实两者区别不是很大,毕竟是基于同样的Mozilla内核构建起来的。 以前虽然对firefox的扩展性有所耳闻,但也只是听说而已,没有任何研究。这几天对于ThunderBird的一些研究让我对Moz...

dato0123 743

FireFox 插件开发之更新篇

java blog   首先看看firefox 插件的 3种 更新 方式:   第一种是通过 addons.mozilla.org 进行更新,这种方式使得你不需要对插件进行任何更新说明,因为 firefox 和 addons 网站会帮你完成所有的这一切,但这样必须要取得 mozilla 的许可才行。   第二种方式是在 install.rdf 中...

234

Firefox扩展开发: Hello World!

Firefox扩展开发: Hello World! 今天尝试开发一个Firefox的扩展。虽然比较简单,网上也有很多教程,但是感觉一些教程写的比较麻烦,在初步的开发过程中并没有用到那些东西,于是自己把开发过程记录下来。我是根据Mozilla官方教程开发的,有兴趣的朋友可以自己去看看:https://developer.mozilla.org/en/Building_an_E...

caoliangbo的博客 144

【转】基于 Mozilla 的扩展开发

原文链接:http://www.lewislv.org/mozilla-ext/mozilla-ext.html目录前言 第一章 技术介绍 1.1 扩展开发所涉的技术 1.2 各种技术所负责的功能 第二章 开发平台的准备 2.1 安装开发工具 2.2 创建 Profile 及配置环境变量 第三章 扩展的结构及 Chrome 注册

639

Firefox插件开发-入门篇

今天尝试开发一个Firefox的扩展,把自己开发过程记录下来,以备不时之需,同时也为初学者提供一个参考。我是根据Mozilla官方教程开发的,有兴趣的朋友可以自己去看看:https://developer.mozilla.org/en/Building_an_Extension。 按照一般的教程,第一个程序都是使用最简单的Hello World,现在我们就制作一个Firefox的Hel...

web开发自学 113

sourcemap反解 npm install --save-dev source-map =======>https://github.com/mozilla/source-map

// app.js listen server的入口文件中引入sourceMap.js //https://github.com/mozilla/source-map // 反解的那个文件放在和这个js同级目录 const fs = require('fs') const path = require('path') let sourceMap = require('source-ma...

gwdgwd123的博客 1682

linux版flash下载工具,Linux系统下安装Flash浏览器插件的方法

如果Mozilla没有象Flash ,realplay, mplayer等插件的话,上网是件很痛苦的事情,因为很多漂亮的网页内容你就看不到了。以下我分为几个步骤:第一步:下载FLASH的插件http://www.adobe.com/shockwave/d ... sion=ShockwaveFlash 在这个页面上有很多插件,在这里你只用下载文件名字:install_flash_player_9_...

weixin_36340926的博客 3721

基于 Mozilla 的扩展开发

基于 Mozilla 的扩展开发 目录 前言 第一章 技术介绍 1.1 扩展开发所涉的技术 1.2 各种技术所负责的功能 第二章 开发平台的准备 2.1 安装开发工具 2.2 创建 Profile 及配置环境变量 第三章 扩展的结构及 Chrome 注册 3.1 扩展程序的结构 3.1.1 扩展的顶级结构 3.1.2...

weixin_30821731的博客 218
上一篇: shell 多行求和,多行求平均值
下一篇: Sublime Text 2搭建Go开发环境(Windows)
Lucien166
博客等级 码龄12年 2粉丝 10原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值