I just developed a javascript library called JIC to solve that problem. It allows you to compress jpg and png on the client side 100% with javascript and no external libraries required!
You can try the demo here : http://makeitsolutions.com/labs/jic
and get the sources here : https://github.com/brunobar79/J-I-C
Related Contents:
- Creating first jQuery slideshow plugin, converting from Javascript
- What’s the easiest way to call a function every 5 seconds in jQuery? [duplicate]
- Making custom right-click context menus for my web-app
- How to create a jQuery plugin with methods?
- JQuery to load Javascript file dynamically
- Get query string parameters url values with jQuery / Javascript (querystring)
- Using jQuery, Restricting File Size Before Uploading
- window.focus(), self.focus() not working in firefox
- How do I drag multiple elements at once with JavaScript or jQuery?
- Why is my ‘load’ event/function not beeing executed after switching to jQuery 3?
- How well does jQuery support backward compatibility?
- How to detect an audio has finished playing in a web page?
- Implementing jquery UI autocomplete to show suggestions when you type “@”
- How to individually target multiple dropdowns in CSS for Dropkick Plug-in
- What is the role of src and dist folders?
- Using jQuery $(this) with ES6 Arrow Functions (lexical this binding)
- jQuery selector regular expressions
- Clearing using jQuery
- Cross-browser window resize event – JavaScript / jQuery
- How do I create a link using javascript?
- jQuery’s .bind() vs. .on()
- The .replace() method does change the string in place
- How to connect HTML Divs with Lines? [duplicate]
- How to bind Events on Ajax loaded Content?
- Array Like Objects in Javascript
- Limiting number of lines in textarea
- How do I refresh a page using JavaScript?
- Unexpected token ILLEGAL in webkit
- jQuery function not binding to newly added dom elements
- jquery-ui-dialog – How to hook into dialog close event
- Ajax success event not working
- How to check/uncheck radio button on click?
- Detect Android phone via Javascript / jQuery
- How do I remove javascript validation from my eclipse project?
- Javascript regex returning true.. then false.. then true.. etc [duplicate]
- Preview images before upload
- Best JavaScript solution for client-side form validation and interaction? [closed]
- How to send variables from one file to another in Javascript? [duplicate]
- Save a pre element as PDF with CSS
- How do I handle a click anywhere in the page, even when a certain element stops the propagation?
- Generate XML document in-memory with JavaScript
- jQuery ajax return value [duplicate]
- can phantomjs work with node.js?
- How should I crop an image at client side using jcrop and upload it?
- Parsing Date from webservice
- Is setInterval() and setTimeout() bad things to do in modern jQuery animations?
- How to disable mouseout events triggered by child elements?
- Uncaught Error: Cannot find module ‘jquery’
- Jquery validation plugin – TypeError: $(…).validate is not a function
- How to compare two HTML elements