pic-smaller
pic-smaller copied to clipboard
Pic Smaller – Compress JPEG, PNG, WEBP, AVIF, SVG and GIF images intelligently
Pic Smaller (图小小)
Pic Smaller is a super easy-to-use online image compression tool. Its UI is intuitive and supports compression configuration. At the same time, because it is purely local compression without any server-side logic, it is completely safe.
![](https://txx.cssrefs.com/demo1.png)
![](https://txx.cssrefs.com/demo2.png)
![](https://txx.cssrefs.com/demo3.png)
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 txx.cssrefs.com
Develop
This is a pure vite + React project, You have to get familiar with them first. Pic smaller 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.git
# 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