cosmetic changes
This commit is contained in:
parent
211be0953e
commit
7a856ae463
@ -209,7 +209,6 @@ public class MainServlet extends HttpServlet {
|
|||||||
|
|
||||||
protected void process_gaussian(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, FileUploadException {
|
protected void process_gaussian(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, FileUploadException {
|
||||||
//response.setContentType("text/html;charset=utf-8");
|
//response.setContentType("text/html;charset=utf-8");
|
||||||
//PrintWriter out = response.getWriter();
|
|
||||||
float selRadius = 1;
|
float selRadius = 1;
|
||||||
FileItemFactory factory = new DiskFileItemFactory();
|
FileItemFactory factory = new DiskFileItemFactory();
|
||||||
ServletFileUpload fileupload = new ServletFileUpload(factory);
|
ServletFileUpload fileupload = new ServletFileUpload(factory);
|
||||||
@ -254,7 +253,6 @@ public class MainServlet extends HttpServlet {
|
|||||||
|
|
||||||
protected void process_lensblur(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, FileUploadException {
|
protected void process_lensblur(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException, FileUploadException {
|
||||||
//response.setContentType("text/html;charset=utf-8");
|
//response.setContentType("text/html;charset=utf-8");
|
||||||
//PrintWriter out = response.getWriter();
|
|
||||||
|
|
||||||
float radius = 1;
|
float radius = 1;
|
||||||
int sides = 1;
|
int sides = 1;
|
||||||
@ -314,6 +312,7 @@ public class MainServlet extends HttpServlet {
|
|||||||
lbf.setBloom(bloom);
|
lbf.setBloom(bloom);
|
||||||
lbf.setBloomThreshold(bloom_threshold);
|
lbf.setBloomThreshold(bloom_threshold);
|
||||||
transformed = lbf.filter(original, null);
|
transformed = lbf.filter(original, null);
|
||||||
|
lbf.filter(original, transformed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user