imaginglib version 0.24.0 (27.06.2007)
Attached:
splash.jpg - original image
loaded_splash.jpg - loaded and then saved
Fixed. Your JPEG used CMYK as output color space which Imaging's loader couldn't handle properly.
This also caused heap corruption from your other post.
Fixed code was uploaded to SVN repository.
Thanks for reporting this.