TiffImage
The TiffImage method writes the whole image in the primary imagespace or its part to Tiff format.
TiffImage
iCompression, Reserved, sFileName [,nXStart] [,nYStart] [,Width] [,Height]
Parameters
-
iCompression
-
Specifies the compression method. Currently supported values are:
1 - Uncompressed true color tiff file
4 - CCITT4 compression (BW images)
-
Reserved
-
Reserved for future usage.
-
sFileName
-
String specifying the name of the file to write to. If sFileName is
a zero length string, the result TIFF image will be produces as SAFEARRAY
return value.
-
nXStart
-
Specifies the x-coordinate of the first base corner of the bounding rectangle
-
nYStart
-
Specifies the y-coordinate of the first base corner of the bounding rectangle
-
Width
-
Specifies the width of image bounding rectangle
-
Height
-
Specifies the height of image bounding rectangle
Remarks
If you have not specified the image sizes, the whole image in the propmary imagespace will be
compressed.