I’ve written jpegapp which can be used to remove, insert, and extract the application specific segments of a JPEG file. I used it to embed transparency information in JPEGs, but you can use it however you like, some things that come to mind:
- Remove EXIF or other strange camera information from JPEGs that you publish.
- Attach source annotations to images when your create them automatically.
- Yank out some application’s data to analyze.
A PDF of the man page is attached to this article.
You can find the source code over at google code jpegapp. BSD licensed. Enjoy.