Dynamic Image Stamp
Im working on setting up a Stamp that will pull the users Signature from a network folder. I bought the PDF Stamps gone wild bookd an used the code below.
The code works if your signature are in a PDF format... The problem im having is all of my users signatures are in the PNG format not PDF. when I change the code below from PDF to PNG, it does not work.
How would I use the script below to insert a signatre stamp image where the image file is a PNG and not a PDF?
===============================================
****Trusted Function Script ****
event.value = identity.name;
// Get image name
var cImageName = identity.name.replace(/\s+/g,"_");
//Build full path to image file
var cFileName = "/H/Images/Signatures/" + cImageName;
cFileName += ".";
try{
MyImportIcon(this.getField("SigButtonImage"), cFileName);
}catch(e){
console.println("Error Importing Signature Image")
}

