Images
Takes up to 6 parameters, FieldBase, Destination, Action, Source, Value, IfLenField
Usage:
FieldBase, Destination, Action, Source, Value, IfLenFld
Description:
The Images Work Query command will allow for image file manipulation to be performed in bulk using data from the Work Query.
List of Actions:
- Resize
- Value should be a string in the format of #x#, with the first # being the X (horizontal) value, and the second # being the Y (vertical) value
- If one of these is blank, the blank value will be auto-calculated based on the other provided value to preserve the current aspect ratio
- This action does not preserve transparency, so it is best used on JPG/JPEG files or PNG files without transparency. If a PNG file with transparency is used, the transparent pixels will be converted to black
- This action is not aware of file metadata data indicating that the file is rotated. It is best to use a client-side image cropper and resizer for user-provided images before sending the to the server
If the Work Query field Error does not already exist when this command is run, it will be created. For any errors that occur per record, the error message for each record will be placed in the Error field.
Examples:
ListFiles pFolder, "*.png", ""
Files "Name", "Resize", "Name", "64x"