DSi Photo Database Library (TCL) List of Functions

General

TCL_GetTableBufferSizeReturns the buffer size needed to load the management file.
TCL_GetWorkBufferSizeReturns working buffer size needed to load the management file.
TCL_CalcNumEnableToTakePicturesCalculates the number of photos that can be taken.
TCL_GetCurrentSecondGets the current time, in seconds.

Using Management Files

TCL_LoadTableLoads the management file.
TCL_CreateTableGenerates the management file.
TCL_RepairTableRepairs the management file.
TCL_SortTableSorts the photo information in the management file.

Search-Related

TCL_InitSearchObjectInitializes the search object.
TCL_GetNumPicturesGets the number of photos that match the search conditions.
TCL_SearchNextPictureInfoGets the information of the next photo that matches the search conditions.
TCL_SearchPictureInfoByIndexGets the photo information that matches the search conditions.
TCL_SearchNextPicturePathGets the path to where the next photo that matches the search conditions is stored.
TCL_SearchPicturePathByIndexGets the path to where the photo that matches the search conditions is stored.
TCL_PrintPicturePathGets from the photo path from the photo information.
TCL_GetPictureInfoFromPathGets photo information from the path to a saved photo.

Photo-Related

TCL_GetJpegEncoderBufferSizeReturns the work buffer size required for JPEG encoding.
TCL_EncodeAndWritePicture(Ex)Encodes the image data in JPEG and saves it.
TCL_GetLastWrittenPicturePathReturns the path of the image last written.
TCL_GetLastWrittenPictureInfoReturns photo information for the last image to be written.
TCL_DecodePictureDecodes the image file in JPEG.
TCL_IsSameImageTypeDetermines whether image types are the same.
TCL_DeletePictureDeletes an image file.
TCL_ChangePictureFavoriteTypeChanges the favorite type.

Constants

General ConstantsVarious constants.
TCLResultProcessing result.
TCLFavoriteTypeFavorites type.
TCLImageTypeImage type.
TCLKeyTypeSignature type applied to the photo.
TCLSearchConditionSearch conditions.
TCLSortTypeType used to sort the management file.

Types and Structures

TCLAccessorUse the accessor to access various TCL functions.
TCLPictureInfoShows the photo information in the management file.
TCLSearchObjectUsed with search-related functions.
TCLMakerNoteThe structure inserted in the Exif Maker Note tag of the JPEG image metadata.

CONFIDENTIAL