BSOne.SFC/EM.Lib/ImageEn_SRC/Demos/FullApps/ResourceExtractor/ReadMe.txt

89 lines
3.5 KiB
Plaintext

ImageEn Resource Extractor Demo
This demo allows users to view the contents of resource files and to save the resources to files.
It has a number of functions to query TIEResourceExtractor for:
function IsFileAResource( AFilename: string ): boolean;
// Is AFilename a resource file
function NumberOfResourcesInRes( APath: string ): integer;
// Return the number of resources in the resource file
function NumberOfImagesInRes( APath: string ): integer;
// Return the number of images in the resource file
function NumberOfGroupIconsInRes( APath: string ): integer;
// Return the number of groupicons in the resource file
function NumberOfGroupCursorsInRes( APath: string ): integer;
// Return the number of groupcursors in the resource file
function NumberOfBMPInRes( APath: string ): integer;
// Return the number of bmp in the resource file
function NumberOfIconsInRes( APath: string ): integer;
// Return the number of ico in the resource file
function NumberOfCursorsInRes( APath: string ): integer;
// Return the number of cur in the resource file
function NumberOfBitmapsInRes( APath: string ): integer;
// Return the number of bmp in the resource file
function NumberOfPNGInRes( APath: string ): integer;
// Return the number of png in the resource file
function NumberOfExtractableImagesInRes( APath: string ): integer;
// Return the number of extractable images ( bmp, png, groupicons and icons,) in the resource file
function ResourceHasBMP( APath: string ): boolean;
// Return true if the resource has bitmaps, false if not
function ResourceHasPNG( APath: string ): boolean;
// Return true if the resource has png, false if not
function ResourceHasGroupIcons( APath: string ): boolean;
// Return true if the resource has groupicons, false if not
function ResourceHasImages( APath: string ): boolean;
// Return true if the resource has images, false if not
function DoesResourceContainGroupIcon( APath: string ): boolean;
// Returns True if the resource file contains a GroupIcon, or false of not
function DoesResourceContainIcon( APath: string ): boolean;
// Returns True if the resource file contains a Icon, or false of not
function DoesResourceContainCursor( APath: string ): boolean;
// Returns True if the resource file contains a Cursor, or false of not
function DoesResourceContainGroupCursor( APath: string ): boolean;
// Returns True if the resource file contains a Cursor, or false of not
function DoesResourceContainBitmap( APath: string ): boolean;
// Returns True if the resource file contains a Bitmap, or false of not
function DoesResourceContainPNG( APath: string ): boolean;
// Returns True if the resource file contains a PNG, or false of not
function IsResourceGroupIcon( APath: string; AIndex: integer ): boolean;
// Returns True if AIndex is a GroupIcon resource, or false of not
function IsResourceIcon( APath: string; ASelection: string; AIndex: integer ): boolean;
// Returns True if ASelection is a Icon resource, or false of not
function IsResourceGroupCursor( APath: string; AIndex: integer ): boolean;
// Returns True if ASelection is a GroupCursor resource, or false of not
function IsResourceCursor( APath: string; ASelection: string ): boolean;
// Returns True if ASelection is a Cursor resource, or false of not
function IsResourceBitmap( APath: string; ASelection: string ): boolean;
// Returns True if ASelection is a Bitmap resource, or false of not
function IsResourcePNG( APath: string; ASelection: string ): boolean;
// Returns True if ASelection is a PNG resource, or false of not