Total Pageviews

Monday 24 June 2024

Pic-Smaller

 

Pic Smaller – Compress JPEG, PNG, WEBP, AVIF, SVG and GIF images intelligently

picsmaller.com

Pic Smaller is a super easy-to-use online image compression tool. It's intuitive, mobile friendly, and supports compression configuration. At the same time, because of purely local compression without any server-side logic, it is completely safe.

Usage

Pic smaller has been deployed to vercel, you can use it by visiting the URL pic-smaller.vercel.app. Due to the GFW, Chinese users can use it by visiting the URL picsmaller.com

picsmaller.com is a new domain that has just been applied for. The old domain txx.cssrefs.com is still accessible, but will be expired on 2025-02-22 and payment will not continue. Please use the latest domain to access the service.

Develop

Pic smaller is a Vite + React project, you have to get familiar with them first. It uses modern browser technologies such as OffscreenCanvas, WebAssembly, and Web Worker. You should also be familiar with them before developing.

# Clone the repo
git clone https://github.com/joye61/pic-smaller

# Change cwd
cd pic-smaller

# Install dependences
npm install

# Start to develop
npm run dev

Thanks

  • ant-design Provides React-based UI solutions
  • wasm-image-compressor Provides PNG image compression implementation based on Webassembly
  • gifsicle-wasm-browser Provides GIF image compression implementation based on Webassembly
  • wasm_avif Provides AVIF image compression implementation based on Webassembly
  • svgo Provides SVG vector compression

from https://github.com/joye61/pic-smaller 

-------

图小小,批量压缩图片

图片压缩,老生常谈了,相关的工具多如牛毛,一般主要是各种工具箱或者在线图片处理,比如之前推荐的洋芋头工具箱,专门的图片处理工具,它的图片批量压缩,简单好用。

图小小(pic-smaller),一款Github上开源的图片压缩工具,可以批量压缩图片,支持JPEG、PNG、WEBP、AVIF、SVG 和 GIF等图像格式,使用简单,支持自己搭建托管。

主要功能:
    绿色安全,纯本地压缩
    支持主流图片格式
    支持文件夹、多图片批量压缩

首先,图小小主要是基于Vite+React以及OffscreenCanvas 、 WebAssembly 和 Web Worker 等现代浏览器技术,支持自己部署。
开发者提供了一个现成的网址。
使用非常的简单,你可以直接拖动图片(支持多张)到上传区域,也可以添加文件夹。
加载后的列表中显示了你添加的图片的一些基本信息,例如尺寸、压缩率等。
在右侧则可以进行压缩设置,包括调整图片尺寸、选择输出的图片格式、以及压缩参数的调整等。
之后,如果你是批量压缩的话,点击保存全部,它会将所有处理好的图片压缩成zip压缩包。
值得说的是,图小小全部是在本地执行压缩的,一个是速度很快,另一个它不会上传数据到服务器,隐私性比较好。

小结:
很不错的一个批量压缩工具,支持的格式丰富,速度也快。有需要经常压缩图片的可以收藏一下这个站。

 

 

 

No comments:

Post a Comment