# compress-image **Repository Path**: dengxiaoning/compress-image ## Basic Information - **Project Name**: compress-image - **Description**: The image compression tool uses vue+vant for page construction, HTMLCanvasElement+Derived for image compression, and file-saver for image download - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-18 - **Last Updated**: 2022-03-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

npm package vue package Test Status

# compress-image - 图片压缩:使用 vue+vant 进行页面搭建, - 使用 HTMLCanvasElement+Derived 实现图片压缩, - 使用 file-saver 进行图片下载 - 插件参考[stackoverflow](https://stackoverflow.com/questions/14672746/how-to-compress-an-image-via-javascript-in-the-browser) ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Lints and fixes files ``` npm run lint ``` ### Preview
操作流程预览
上传所有要压缩的图片
压缩直接下载
压缩直接下载
未压缩前
压缩后的图片
### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).