微信下载图片返回content-Type是image/jpeg,但是文件后缀名是xx.jpg,这是什么情况?而且 BufferedImage srcImg = ImageIO.read(input); 读取图片流报空指针?几率很大
业精于勤,荒于嬉;行成于思,毁于随。
image/jpeg 是图片的格式xx.jpg 这个jpg is the expression of the above format
image/jpeg
xx.jpg
jpg
The null pointer problem can only be found line by line slowly...
image/jpeg
是图片的格式xx.jpg
这个jpg
is the expression of the above formatThe null pointer problem can only be found line by line slowly...