简体   繁体   中英

Change natural size of image

I want to resize (crop) an image (change natural size of image) and show it to a user. How can this be done with jquery or javascript?

My goal is to reduce the size of my image.

EX: If my image size is: 900 kb i want reduce to: 200 kb , with crop(resize width and height)

Please give me a example on: http://jsfiddle.net/

This stuff is advenced. Chack this: HTML5 Canvas Resize (Downscale) Image High Quality?

You can also check this out: https://transloadit.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM