Compress images with YAML
YAML parameters for Compress images
You can find the list with common parameters for all Buddy actions here.
|action ||String||The ID of the action.|
|type ||String||The type of the action. Should be set to |
|local_path ||String||The path in the repository.|
|destination ||String||Output directory for compressed images.|
|level ||String||The level of image compression. Can be set to |
|types ||String||Supported image formats. Available types: |
YAML example for Compress images
actions:- action: "Compress images"type: "IMAGE_COMPRESSION"local_path: "assets/"destination: "compressed_images/"level: "2"types: "jpg,png,gif,svg"trigger_condition: "ALWAYS"