AddFrame example for Delphi
LEADImage1.AddFrame (LEADImage2.Bitmap, False, False, 0, 0, FRAME_OUTSIDE, FRAME_QUALITY_LOW);