I need to embed images inside OpenOffice Text documents without the help of OpenOffice itself. For that I need to work directly inside the zip archive and modify the appropriate xml files. The problem I have now is that OpenOffice stores embedded pictures inside a picture folder and asigns a unique name to them according to the information in the picture.
Filenames look as following:
10000000000000FF000000D84ABBAECB.jpg
This filename is divided into 4 parts at 8 Byte per part and ending with the file extension.
10000000 000000FF 000000D8 4ABBAECB
^ ^ ^ ^
unknown height width checksum
My problem now is that I have no clue what kind of checksum algorithm is used.