image-conversion icon indicating copy to clipboard operation
image-conversion copied to clipboard

A simple and easy-to-use JS image convert tools, which can specify size to compress the image.

Results 30 image-conversion issues
Sort by recently updated
recently updated
newest added

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...

dependencies

png透明图片的背景会被改为黑色,有解决办法吗 用这种会变成黑色 imageConversion.compress(file,0.8) 用这种不会变色,但是图片也没有压缩效果 imageConversion.compress(file,{ quality: 0.8, type: "image/png", scale: 1, })

I was using the live site and it failed to convert any images (or change their dimensions, or compress them); I used a .jpg and a.png, image. I was using...

**Describe the bug** When gifs are compressed, they become static image of first frame only. ``` import { compress } from "image-conversion"; const compressed_gif = await compress(YOUR_GIF_FILE_HERE, { quality: 0.8,...

![bsp_7](https://user-images.githubusercontent.com/18586150/88399750-f0e03e00-cdf9-11ea-8d33-1ae1d6caf258.png) 上面的文件(约5MB),用类似下面的代码压缩失败(上传后发现没有压缩): ``` compressAccurately(file, { size: 1000, // _self.imageSizeLimits[_self.islIndex], //accuracy: 0.9, type: 'image/png' }).then(res => { let blobUrl = URL.createObjectURL(res) this.imagesTemp.push(blobUrl) this.extensionDict[blobUrl] = 'png' // extension // 压缩后上传丢失后缀 }) ```...

Thank for your contribution. The package has problem on IE 11. How can I solve this? ![image](https://user-images.githubusercontent.com/20688540/97653778-28fbba80-1a94-11eb-9386-5f2235049bfd.png)

![image](https://user-images.githubusercontent.com/45124097/88795440-9b79a780-d1d2-11ea-814b-56563206ff17.png)

**测试环境:** 浏览器:Chrome 80 具体浏览器版本:Chrome/ 80.0.3987.132 系统:win10 **复现步骤如下:** 打开 [测试页面](https://demo.wangyulue.com/image-conversion/) 上传gif[图片](https://climber.oss-cn-beijing.aliyuncs.com/tenor.gif) size 填写50 开始压缩 gif图片压缩后变成静态图。

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...