阅读背景:

使用Java将十六进制标头信息添加到JPEG文件

来源:互联网 

I need to add header info to a JPEG file in order to get it to work properly when shared on some websites, I've tracked down the correct info through a lot of Hex digging, but now I'm kind of stuck trying to get it into the file. I know where in the file it needs to go, and I know how long it is, my problem is that RandomAccessFile just overwrites existing data in the file and FileOutputStream appends the data to the end. I don't want either, I want to INSERT data starting at the third byte.I need to add header info to a JPEG file in ord




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: