The first set of parameters is used to process images to format them.
Crop and ensure that the image does not exceed a predefined size. If the image is smaller than the crop dimensions, no processing is applied.
Change the size of the image to apply a predefined width while maintaining the original Width/Height ratio. Make sure that the width of the original images is greater than the saved setting.
When a crop is applied concurrently with a resize, the crop is applied first.
Transform images into JPG format and replace transparency with a predefined color (white by default). Images that are not in PNG format are not affected by this treatment.
Force the density value recorded in the images. This treatment has no effect on the size of the image or its weight.
Limits the weight of images. JPG images that exceed the threshold are resampled. PNG images that exceed the threshold have their color palette limited to 255 colors. Images in other formats are not processed.
This function allows you to duplicate the images that are the subject of a look in order to have an additional “look” image, named according to a particular convention.
For more information about this feature, we invite you to contact user support.
Some cases require duplicating images at the end of post-production. For example, a mattress can be sold in different sizes with the same images. For this we allow the duplication of visuals for products that share the same product code (PRODUCT_REF).
The visuals are the same but named differently.
The settings shown below are for renaming images.
Not all images are necessarily affected by the export. The filter excludes images whose directory or file name does not pass the regex rule passed as a parameter.
The syntax of regular expressions (regex) can be complex for neophytes. A test field makes it possible to check the result.
In the example above, the filter only lets through images included in a directory with the name “WEB” or “BD”. Images that are not in such a directory will not be processed by the export, but they can be processed by another export.
To rename images automatically, the first step is to specify what to rename in the file names. Once these elements are identified, the second step will be to explain how to rename these elements (see “Transcode”), then recreate the final file name (see “Create”).
The decoding step is based on regex rules (regular expressions) where each block in brackets is considered to be an element to be renamed. The order of the parenthesis blocks will give the variable number for the next “Transcode” part.
In the example above, images are expected to all have a “.jpg” extension. Before this extension, the decoder searches for a numerical expression up to one dash (“0010" in the example). This numerical expression being the 2nd in brackets in the rule, it will be available in the renaming rule under the variable “{$2}” (see “Create”).
Finally, the decoding rule includes all the characters preceding this dash and this expression is available in the rename rule under the variable “{$1}”.
Once the original names of the images have been decoded and divided into elements, it is possible to translate these elements. The platform provides 4 options as standard:
In the example above, the 2 elements are left unchanged.
The last step in renaming consists in taking over all the transcoded variables and then reforming a file name.
It is not necessary to include all the variables declared using the decoding filter.
In addition, the platform exposes other variables that may be useful to you:
The image above uses the previous example: the variable {$2} is not included and an auto-incremented view code is added before the “.jpg” extension.
To know
Conflicts may occur on renamed files. To avoid losing any images, an increment will be added at the end of the file name and alerts will be displayed on the export screen.