args: - auto: PREDEFINED description: The action to perform on the image. name: action defaultValue: original predefined: - grayscale - sharpened - original - description: 'The desired width for resizing the image to. For example: image_resize_width=500.' name: image_resize_width - description: 'The desired height for resizing the image to. For example: image_resize_height=1000.' name: image_resize_height - description: The entryID of the file to process. name: file_entry_id required: true comment: This script pre-processes (resizes, sharpens, and grayscales) an image file from context, given an entry_id. commonfields: id: PreProcessImage version: -1 enabled: true name: PreProcessImage outputs: - contextPath: PreProcessImage.file_entry_id_new description: The entryID of the created file. type: String - contextPath: PreProcessImage.action description: The action that was performed. type: String script: '-' subtype: python3 timeout: 480ns type: python dockerimage: demisto/processing-image-file:1.0.0.11193239 tests: - No tests (auto formatted) fromversion: 6.9.0