image - How to reduce size of a multipart file in java -
i have java
spring mvc
application in there option upload image , save server. have following method:
@requestmapping(value = "/uploaddocimagecontentsubmit", method = requestmethod.post) public string createupdatefileimagecontentsubmit(@requestparam("file") multipartfile file, modelmap model) { //methods handle file upload }
i trying reduce size of image refering following:
increasing-resolution-and-reducing-size-of-an-image-in-java , decrease-image-resolution-in-java problem facing in above examples, dealing java.io.file
objects saved specified location. dont want save image. there way can use similar compress multipart image file , continue upload.
why don't resize on client before upload? save bandwidth
blueimp jquery upload can this
Comments
Post a Comment