1 Star 0 Fork 71

qykings / webp2jpg-online

forked from renzhezhilu / webp2jpg-online 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
readme_en.md 3.99 KB
一键复制 编辑 原始数据 按行查看 历史
renzhezhilu 提交于 2020-08-24 00:35 . update

The document uses Google Translate

title

title title title

title Introduction to webp2jpg-online I often need to convert webp images to jpg format, and many of the functions provided by online conversion require uploading files, which sucks. There are non-uploads but the UI is difficult to use, Google later learned that html5 comes with a built-in interface called canvas. toBlob has the ability to convert images, so just do your own webp2jpg-online.

title Online image format converter, jpeg, jpg, PNG, Gif, webp, svg, ICO, bmp files into Jpeg, PNG, webp, ICO, gif files. The conversion can be done locally without uploading the file Online picture format converter, can convert jpeg, jpg, png, gif, webp, svg, ico, bmp files into jpeg, png, webp, ico, gif files. No need to upload files, conversion can be done locally。

Main function

No UPLOADS, conversion using the browser itself
Batch translation outputs webp, jpeg, PNG, 8-bit PNG, gif animation, webp animation, base64
Output specified size (WEBP, jpeg)
Output number of colors (Gif, png-8)
Options can customize adding or removing a tick and persisting it

Online address

https://renzhezhilu.github.io/webp2jpg-online/

demo

demo

plan

[ ] Pull out the main function to make img2img.js module (not started)

# update the log

v2.1 2020-08-17

New feature-output specified size
NEW FEATURE-COLOR COUNT OPTION (GIF, png-8)
New feature-automatic width output
New format-8-bit PNG
New format-base64
Fix-option delete function
Fix-multi-file download omission
Fix-compressed package file non-english garbled code
Fix-capital suffix not recognized
Fix-highlights that the prompt does not support file format
Delete the-ico output (false ICO is still PNG) 

v2.0 2020-06-26

Refactoring using vue
Support GIF GIF TO WEBP GIF
The size and picture quality can be customized
Option data persistence
Enable image append mode
Openable conversion comparison
Optimized the UI
Support for multiple languages
The page file is also bigger, which is slower to open the first time and faster after the second time

v1.0 2020-01-14

Project Establishment
Support for Jpeg, webp, PNG conversion
Optional output width
Optional output picture quality
Batch processing

Platform support

Google Chrome Firefox Apple Safari Microsoft Edge IE
Windows ️ ☑️ ☑️ - ☑️ -
Mac OS ✔️ ✔️ ☑️ ✔️ -
Iphone ☑️ ☑️ ✔️ - -
Android ☑️ ☑️ - - -
️️

Something is running well? Untested

❤ thanks for the recommendation

tech enthusiast weekly (issue 114) : USB Survival and Uber-job

The core principle of image format conversion

Canvas API

HTMLCanvasElement.toBlob()

canvas.toBlob(callback, type, encoderOptions);

WebAssembly

MDN:WebAssembly doc

wasm-im

article: Web Assembly practice-using Imagemagick in a browser

(snapshot)

JavaScript
1
https://gitee.com/qykings/webp2jpg-online.git
git@gitee.com:qykings/webp2jpg-online.git
qykings
webp2jpg-online
webp2jpg-online
master

搜索帮助