Configure automatic image creation
Create settings that are automatically applied to new or modified images.
Context
The configuration is carried out in the censhare Admin-Client. It refers to "Automatic Image Create (settings)" in the Configuration/Module/Image section.
Prerequisites
censhare provides an image service, such as ImageMagick that is used for basic editing functionality such as resizing, cropping or rotating images. The image service is already configured for you. You can see the image services in the censhare Admin-Client under Configuration/Services/Image/Configuration: Special Setup/Default Backend.
Introduction
In censhare, you can configure that sets of specific settings are automatically applied to newly created or modified images. You can configure settings for dimensions, resolution, colors, or storage type, etc. With asset filters, you can additionally control to which assets these settings should be applied, for example to assets in a certain domain or to assets in a certain workflow step. A custom configuration file is created from your settings.
With one of the following image server actions you enable the custom configuration that is applied to new or modified images that match the filters you specified:
"Create additional image": When enabled, the action is available in the censhare Client. In the censhare Client, you can select it for an image asset and then choose the image settings that should be applied to the asset.
"Create additional image (automatic)": When enabled, the defined settings are applied automatically according to the filters defined to all appropriate image assets. You will see the newly created images in the censhare Client.
Filters and image-specific settings
In the "Automatic Image Create (settings)" you define the following:
The asset filter: censhare only searches for assets that match the filter criteria, such as domain or workflow step of an asset.
The image settings: Image-specific settings such as resolution, format, storage type that are applied to the new or updated image assets.
You can create and define multiple sets of filters and associated image settings in one configuration. To do so, click the + button at the very bottom of the dialog.
Note: In the dialog, mandatory fields are highlighted in red.
Field | Description |
Search | Specify the filters for the assets the settings should be applied to: for instance, the domain, or a defined workflow step of an asset. The functionality here is the same as in a detailed search query in the censhare Client. For further information, see Detailed Search. |
ID | Enter an ID for the specific image creation settings. |
Name | Enter a name for the specific image creation settings. This will be available for selection in the censhare Client when you carry out the action "Create additional image". |
Storage type | File type that should be created for the output images, such as PDF, thumbnail, or video preview. To define a new storage type, go to the "Files type" folder in the censhare Admin-Client. |
Maximum width | Maximum pixel width, aspect ratio is retained, "0" retains the original value. |
Maximum height | Maximum pixel height, aspect ratio is retained, "0" retains the original value. |
Upscale | Image is scaled up to the configured size. |
Resample | Physically changes the number of pixels in the image. Source image is recalculated according to the specified image resolution (DPI). |
Enforce geometry | Only supported with the image tool "ImageMagick": |
Frame | The image is fit into a frame. Width and height values are treated as fixed values. |
Alignment | Select the position using cardinal directions to align the image into the frame. |
Resolution | DPI value of the image in integers. |
Backend | Image service to accomplish the built-in image editing tasks: |
Color space | Color space of output image: RGB, CMYK or Grayscale. "Keep" retains the color space of the original image. |
Target ICC profile | ICC profile of the resulting image. |
Format | Image format of output image: JPEG, PNG, TIFF, Photoshop (PSD) |
Transparency | Transparency mode of output image: |
Background color | Defines the background color. |
Transparency crop | If "Transparency from clipping path" is set as Transparency mode: The result is fitted into a frame with the specified number of pixels as margin. |
Strip ICC profiles | ICC profiles as well as all other properties are removed from the input image. |
Sharpen | Sharpens the output image using the defined values for Radius and Sigma. |
Effect | Effects are applied. Available effects: Watermark, Crop |
Asset MIME types | Possible MIME types of input images, such as JPEG, PNG, or TIFF. |
Alternative sources if master doesn’t contain a "picture" storage | If the master does not contain an image storage item, choose one the following: |
Create custom settings
To create custom settings:
Log in to the censhare Admin-Client as administrator.
Go to Configuration, Modules, Image.
Double-click "Automated Image create (setting)". A dialog for entering the image settings is displayed.
You find a section with general settings, and a section with settings specific to the server action.Select and enter the general settings.
Select and enter the settings that should be applied to the images defined in the search query. For further information, see the table.
Confirm your edits with OK.
A custom configuration file is created. It is displayed under "Configuration/Module/Image" below the default configuration.To activate your edits, click "Update server configuration" on the toolbar of the censhare Admin-Client.
Result
You have created a custom configuration for images that can be applied to new or updated images you have defined in the configuration.
Next steps
With one of the following image server actions you enable such that the custom configuration is applied to new or modified images that match the filters you specified:
• "Create additional image": When enabled, the action is available in the censhare Client. In the censhare Client, you can select it for an image asset and then choose the image settings that should be applied to the asset.
• "Create additional image (automatic)": When enabled, the defined settings are applied automatically according to the filters defined for all appropriate image assets. You will see the newly created images in the censhare Client.