Example Databases
Import
This example shows various ways to import an image with CNS Image.
Export
This example demonstrates multiple ways you can export an image with CNS Image.
Information
This example demonstrates how you can use CNS Image to get information about an image.
Convert
This example demonstrates how to use the Convert function to change the format and other properties of an image.
Crop
This example demonstrates how to crop an image, that is, to create a new image from part of a larger image.
Rotate
This example demonstrates how to rotate an image.
Reflect
This example demonstrates how to flip an image horizontally, vertically, or both.
Filter
This example demonstrates ways you can apply different filters to an image.
URL
This example demonstrates the ability to download an image from the internet and put it directly into a container field.
Transform
This example demonstrates how you can pick 4 points of your image to adjust how the image is drawn.
Resize
This example demonstrates how to resize an image. You can either resize proportionally by defining only one dimension, or stretch the image by defining both.
Folder Import and Resize
This example solution shows one way to import a folder of images and resize them proportionally based on dimensions you specify.
All-in-One Example
This is the original example database that was distributed with v1.0 of the plug-in. This example is available for historical purposes and we do not suggest using it.
Ghostscript Scripted Install
This example demonstrates how to script the installation of Ghostscript, which is used to Import or Convert From PDF documents.
Image Splitter
This example demonstrates how to use the GetLayer function to split PDF, TIFF, or PSD images into separate images for each layer/page.