## AppendFileExtension AppendFileExtension() appends a file extension type to the filename. If an extension to the file already exists, it is first removed. The extension of the AppendFileExtension method is:
      void AppendFileExtension(const char *extension,char *filename)
A description of each parameter follows. #### extension Specifies a pointer to an array of characters. This is the extension of the image. #### filename Specifies a pointer to an array of characters. The unique file name is returned in this array. ## ChopPathComponents ChopPathComponents() removes the number of specified file components from a path. The format of the ChopPathComponents method is:
      ChopPathComponents(char *path,unsigned long components)
A description of each parameter follows: #### path The path. #### components The number of components to chop. ## GetPathComponents GetPathComponents() returns a list of path components. The format of the GetPathComponents method is:
      char **GetPathComponents(const char *path,
        unsigned long *number_componenets)
A description of each parameter follows: #### path Specifies the string to segment into a list. #### number_components return the number of components in the list ## GetExecutionPath GetExecutionPath() returns the pathname of the executable that started the process. On success WizardTrue is returned, otherwise WizardFalse. The format of the GetExecutionPath method is:
      WizardBooleanType GetExecutionPath(char *path)
A description of each parameter follows: #### path The pathname of the executable that started the process. ## IsAccessible IsAccessible() returns WizardTrue if the file as defined by the path is accessible. The format of the IsAccessible method is:
      WizardBooleanType IsAccessible(const char *filename)
A description of each parameter follows. #### path Specifies a path to a file. ## IsWizardTrue IsWizardTrue() returns WizardTrue if the value is "true", "on", "yes" or "1". The format of the IsWizardTrue method is:
      WizardBooleanType IsWizardTrue(const char *value)
A description of each parameter follows: #### option either WizardTrue or WizardFalse depending on the value parameter. #### value Specifies a pointer to a character array. |

Discourse Server | License | Notice
© 1999-2006 ImageMagick Studio LLC