Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
LFile::SaveTile
#include "ltwrappr.h"
virtual L_INT LFile::SaveTile(nCol, nRow, pSaveFileOption=NULL)
L_INT nCol; |
/* left column number of the tile */ |
L_INT nRow; |
/* top row number of the tile */ |
pSAVEFILEOPTION pSaveFileOption; |
/* pointer to optional extended save options */ |
Saves the class object's associated bitmap to a specified rectangular location in an existing FlashPix file. It only works with uncompressed FlashPix files. If a compressed FlashPix file is passed in, an error will be returned.
Parameter |
Description |
nCol |
Left column number of tile. |
nRow |
Top row number of tile. |
pSaveFileOption |
Pointer to optional extended save options. Pass NULL to use the default save options. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
This function supports the LFile::SaveFileTileCallBack virtual function.
This function only works with uncompressed FlashPix files.
Note: More information is available in the SAVEFILEOPTION structure.
Support for 12 and 16-bit grayscale images is only available in the Document/Medical toolkits.
This function does not support signed data images, unless they are DICOM images. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image that is not a DICOM image is passed to this function.
This function supports signed data images, but only DICOM and TIFF formats support signed data. This function will return an error code if you attempt to save a signed image to a format other than DICOM or TIFF.
If the bitmap has a region, the region stored in the bitmap will be saved, if the image is saved as one of the TIFF file formats.
Required DLLs and Libraries
LTFIL For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics: |
|
|
Example
For an example, refer to LFile::LoadTile.