Hey guys does any one know how to compress image on the client side without reloading the server. I don't want to use ajax
If my image size is greater than 2mb then on client side it compress the image after that load to the server
image compression on client side
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: image compression on client side
Please clarify your question in more detail about the processing flow. Is this about compression before an upload to the server or about a download that needs to be compressed? By compressing do you mean resizing or actually compression such as jpg compression.
If I understand your question and it has to do with compressing before an upload, then Imagemagick cannot do this unless the client has Imagemagick installed.
You might explore javascript to do the compression.
If I understand your question and it has to do with compressing before an upload, then Imagemagick cannot do this unless the client has Imagemagick installed.
You might explore javascript to do the compression.
Re: image compression on client side
Thanks for your reply..
I got to know that compression is not possible on client side unless imagemagick is installed, Then can you suggest me how can i compress the image through java Script before uploading the image on server side
That would be a question to ask on a Javascript forum. I really do not know.
I got to know that compression is not possible on client side unless imagemagick is installed, Then can you suggest me how can i compress the image through java Script before uploading the image on server side
That would be a question to ask on a Javascript forum. I really do not know.