Definition at line 1508 of file CATImage.cpp.
References CAT_SUCCESS, CATFAILED, CATStreamFile::Close(), CATStreamFile::Open(), CATStream::READ_WRITE_CREATE_TRUNC, and Save().