Byte array to buffered image conversion slow

前端 未结 3 1757
独厮守ぢ
独厮守ぢ 2020-12-19 07:03

I have a simple server-side code that receives a byte array representing an image in JPEG format and returns the dimensions of the image.

public String proce         


        
3条回答
  •  无人及你
    2020-12-19 07:37

    Try running your java program with the following command line option and see if it speeds things up at all:

    -Djava.awt.headless=true
    

提交回复
热议问题