I have a problem saving and loading a TJPEGImage to a TMemoryStream. When I load the JPEG from the stream the stream position seems to be in the wrong place as if it's loading less or more memory than it saved. In the help file it says this in TJPEGImage.SaveToStream :
"SaveToStream expects jpeg image data and may incur overhead of a compression cycle if the source is a bitmap."
I think that may have something to do with it but I don't know what it means.
Has anyone else had this problem? If not could someone just explain what that sentence means in the help files.