| pStream | Stream | Yes | Pointer to the memory stream. |
| nLength | Number | Yes | Number of bytes passed through the stream. |
| nLeft | Number | Yes | Specifies the horizontal coordinate where the image needs to be inserted. |
| nTop | Number | Yes | Specifies the vertical coordinate where the image needs to be inserted. |
| nOpacity | Number | No | Optional parameter which specifies the opacity of the image. |
| nCropLeft | Number | No | Optional paremeter which specifies the left cropping of the image. |
| nCropTop | Number | No | Optional paremeter which specifies the top cropping of the image. |
| nCropWidth | Number | No | Optional paremeter which specifies the width of the cropping area of the image. |
| nCropHeight | Number | No | Optional paremeter which specifies the height of the cropping area of the image. |
| nWidth | Number | No | Optional parameter which specifies the desired width of the image to insert. |
| nHeight | Number | No | Optional parameter which specifies the desired height of the image to insert. |
| nResize | Resize (Enumeration) | No | Optional parameter which specifies the desired resizing method which should be used if the image needs to be resized. Resizing occurs after optional cropping. |
| nResample | Resample (Enumeration) | No | Optional parameter which specifies the desired resample method which should be used if the image needs to be resized. |