Available in the LEADTOOLS Imaging toolkit. |
SaveTileWidth example for C++ 4.0 and later
// save TIF files with a tile size of 512x512
m_Lead1.SetScaleMode(3);
// use pixels for the tile size
m_Lead1.SetSaveTileWidth(512);
m_Lead1.SetSaveTileHeight(512);
m_Lead1.Save("c:\\temp\\tiled.tif", FILE_CCITT_GROUP4, 0, 0, SAVE_OVERWRITE);