Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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....
Posted
Updated 5-Mar-20 15:01pm

 
Share this answer
 
Comments
vivekx2 6-Jun-12 1:13am    
I asked javascript coding to compress image that upload in my site....not to compress javascript coding....
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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900