Functions
There are two ways to view the CNS Image function reference, the Function Reference below, and the Function Reference Browser in a new window.
Function ReferenceThe Function Reference is a complete reference for CNS Image functions. Click on a function title to view more information which includes the function description, parameter information, example usage and more. | Function Reference Browser![]() The Function Reference Browser offers better navigation for the CNS Image functions, you can Launch Function Browser in a new window. |
Function Reference
- CNSImage_Configure
Calling this function with no parameters will open the CNS Image Configuration Dialog. You can optionally open to a specific tab by specifying the name of the tab as the "Option" parameter. This... read more
- CNSImage_Convert
The CNSImage_Convert function allows you to convert an image. You can change the type of the image as well as the resolution, and depth. If your target image type is JPEG or TIFF, you can set the... read more
- CNSImage_Crop
The CNSImage_Crop function allows you to create a new image based on part of an image. In other words, it takes an image, crops it to your specifications and then returns it to... read more
- CNSImage_Export
This function allows you to save an image to any folder with any name. You can also export an image using a dialog. The function will return text indicating the success or failure of the... read more
- CNSImage_File_Copy
You can use this function to copy a file to a new... read more
- CNSImage_File_Delete
You can use this function to delete a... read more
- CNSImage_File_Exists
This function will check to see if a file... read more
- CNSImage_File_GetPath
You can use the CNSImage_File_GetPath to retrieve a variety of paths including: Database, FileMaker, Root, System, Desktop, Preferences, Temporary, Applications, or Documents. This function can be... read more
- CNSImage_File_SelectFileWithDialog
The CNSImage_File_SelectFileWithDialog function allows you to use a dialog to locate a file on your hard drive and returns the path of the chosen file. You can specify the starting folder by... read more
- CNSImage_File_SelectFolderWithDialog
You can use this function to choose a folder using a dialog box. You can use the optional "StartPath" parameter to specify which folder to display when the dialog first opens. You can use the... read more
- CNSImage_Filter
With this function, you can apply a filter to an image. CNS Image currently has filters available to Blur, Contrast, Edge, Emboss, Modulate, and Sharpen. Look for more filters to be added in the... read more
- CNSImage_GetFromURL
You can download an image on the internet with this function. You can download fun images such as webcams, daily cartoons, or photos of the sun. You can also post new graphics for your solution to... read more
- CNSImage_GetInfo
The CNSImage_GetInfo function returns information about an image such as the format, width, height, resolution, depth, quality, and size. You can also use the "Field" parameter to retrieve a... read more
- CNSImage_GetLayer
This function allows you to extract a layer of an image. You can grab layers of Photoshop images, TIFF images, and pages of... read more
- CNSImage_Import
The CNSImage_Import function allows you to easily import images into FileMaker. You can import by specifying a path to an image as well as using a dialog box to navigate to a desired... read more
- CNSImage_Reflect
This function returns a mirror image of the specified image, dependent on the given... read more
- CNSImage_Register
You can use this function to register a plug-in without having to use a dialog box. If you use the "Option" parameter, you can register via a dialog box using the "Dialog" value. You can also use... read more
- CNSImage_Resize
This function allows you to resize an image. You can either resize proportionally by defining only one dimension, or stretch the image by defining... read more
- CNSImage_Rotate
This function Rotates an Image by the given number of... read more
- CNSImage_SetGSPath
Allows you to set the path to the Ghostscript command line program for working with PDF... read more
- CNSImage_Transform
This function applies a Transformation Rectange/Matrix to an image. This function can be used for something as simple as resizing an image or for something more complex like resizing, rotating, and... read more
- CNSImage_Version
This function returns the Version number of CNS... read more
- CNSImage_VersionAutoUpdate
This function returns an Auto Update friendly Version number of CNS Image. The format of this version number is always exactly 8 digits long. The first two digits represent the major version of the... read more
- Reference: Image Types
Image Formats that can be Read (Imported and Converted From) on Both Mac OS X and Windows: Image Name File Type File Extensions JPEG JPEG .jpg; .jpeg; .jpe; .pjpeg;... read more
- Reference: Paths
You can use the following types of paths to reference images in CNS Image... read more
