微信下载图片返回content-Type是image/jpeg,但是未见后缀名是xx.jpg,java大几率读取报空指针
迷茫
迷茫 2017-04-18 09:57:40
0
1
835

微信下载图片返回content-Type是image/jpeg,但是文件后缀名是xx.jpg,这是什么情况?
而且
BufferedImage srcImg = ImageIO.read(input); 读取图片流报空指针?几率很大

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
大家讲道理

image/jpeg 是图片的格式
xx.jpg 这个jpg is the expression of the above format

The null pointer problem can only be found line by line slowly...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template