Available in the LEADTOOLS Imaging toolkit. |
SaveWithStamp example for Visual J++
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", (short) LTOCXU.FileConstants.FILE_JPEG,
(short) 24, (short) 30, (short) 150, (short) 100, (short) 24 );
LEAD1.LoadStamp( "c:\\lead\\images\\stamp.jpg" );
LEAD1.ForceRepaint();