I am confused at a point.
I wish to know what is the purpose of using CFrameImageData and TJPegImageData while saving an image to file using CImageEncoder..
It is pretty obvious, if you check TJpegImageData in the SDK Help. You can specify the compression parameters with this class.
These parameters are also present in any PC-based image manipulation tool that is capable of creating .jpg images.