Available in the LEADTOOLS Imaging toolkit.
SavePage example for C++ 4.0 and later
// replace page 1 from TEST.TIF m_Lead1.SetSavePage(1); m_Lead1.Save(“TEST.TIF”, FILE_TIF, 8, 0, SAVE_REPLACE);