SaveWithStamp example for Delphi

This example saves the image in a JPEG file that includes a thumbnail (stamp) image. It then loads the thumbnail from the new file.

Lead1.SaveWithStamp('C:\lead\IMAGES\STAMP.JPG', FILE_JPEG, 24, 30, 150, 100, 24);
Lead1.LoadStamp('C:\lead\IMAGES\STAMP.JPG');
Lead1.ForceRepaint;