Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7962.html
Copy link to clipboard
Copied
This documentation is wrong - It says "Returns - A ColdFusion image." but if you try to set the result of this function to a variable it throws an error: "The result of the method imagePaste cannot be assigned because it does not return a value."
The function actually modifies the first image parameter.
image1 will be the result of the imagePaste()
Copy link to clipboard
Copied
Hello Ryan,
To us, the result seems to be fine, as it returns the image as output modified by ColdFusion. Further, you can't set the result to a variable as it is an image object.
Regards,
Anit Kumar
Copy link to clipboard
Copied
The documentation says that it returns a coldfusion image - the function does not return anything, certainly not in the sense of other function returns. It modifies the first image parameter.