系统相关
首页 > 系统相关> > OA系统05-在内存中创建图像

OA系统05-在内存中创建图像

作者:互联网

package com.bjsxt.controller;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.sql.rowset.serial.SerialException;
import java.awt.image.BufferedImage;
import java.io.IOException;

@WebServlet("/codeServlet")
class CodeServlet extends HttpServlet{
   @override
   protected void service(HttpServletRequest req,HttpServletResponse resp)throws SerialException, IOException {
      //在内存中创建图像
      int width = 110,height = 30;
      BufferedImage image = new BufferedImage(width,herght,BufferedImage,TYPE_INT_RGB);
   }

}


标签:java,05,image,BufferedImage,OA,HttpServlet,内存,import,javax
来源: https://blog.csdn.net/qq_39247931/article/details/122725331