如何压缩图像而不会失去其在javascript中的质量 [英] how to compress image without losing its quality in javascript

查看:88
本文介绍了如何压缩图像而不会失去其在javascript中的质量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我的网站里面有很多图片....



绑定图片我写了一个编码在javascript ....这需要更多的时间来加载页面,因为图像需要更多的内存空间,如2MB。



我需要javascript编码来减少图像的内存空间不是尺寸和质量....



任何人都可以帮我....

解决方案

< blockquote> 压缩图片和JavaScript [ ^ ]



Javascript无损图像压缩 [ ^ ]

如何在Java中压缩jpeg图像而不丢失该图像中的任何元数据 [ ^ ]



http://jscompress.com/ [ ^ ]






无法使用Javascript压缩图像。您必须使用ActionScript之类的Flash插件在上传之前压缩图像(如Facebook上传)。



这是类似的,尝试它可以帮助你这里 [ ^ ]



谢谢

- RA

Hello everyone,
I have my website which contains lot of images....

To bind images i written a coding in javascript....which takes more time to load the page because the image takes more memory space like 2MB.

I need javascript coding to reduce memory space of image not the size and its quality....

Can anyone pls help me....

解决方案

Compress Images and JavaScript[^]

Javascript lossless image compression[^]
How can I compress jpeg images in Java without losing any metadata in that image[^]

http://jscompress.com/[^]


Hi,

Compressing image with Javascript is not possible. You have to use flash plugins like ActionScript to compress image before uploading (like facebook uploads).

Here is the like for , try it it may helps you Here[^]

Thanks
--RA


这篇关于如何压缩图像而不会失去其在javascript中的质量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆