Skip to content

Commit

Permalink
Update Docker Image (#30225)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkatzir committed Oct 25, 2023
1 parent aa8e5e9 commit 78931f0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions Packs/CommonScripts/ReleaseNotes/1_12_38.md
@@ -0,0 +1,6 @@

#### Scripts

##### PreProcessImage

- Updated the Docker image to: *demisto/processing-image-file:1.0.0.78798*.
Expand Up @@ -84,7 +84,7 @@ def action_wrap(args: dict) -> dict:
raise DemistoException('not a valid action')
final_image = Image.fromarray(image)
if img_sizes:
final_image = final_image.resize(img_sizes, Image.ANTIALIAS)
final_image = final_image.resize(img_sizes, Image.Resampling.LANCZOS)
final_image.save(stream_buffer, format='png')
stream_buffer.seek(0)
return fileResult(f'{action}_{name}.png', stream_buffer.read())
Expand Down
Expand Up @@ -31,7 +31,7 @@ script: '-'
subtype: python3
timeout: 480ns
type: python
dockerimage: demisto/processing-image-file:1.0.0.66515
dockerimage: demisto/processing-image-file:1.0.0.78798
tests:
- No tests (auto formatted)
fromversion: 6.9.0
2 changes: 1 addition & 1 deletion Packs/CommonScripts/pack_metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "Common Scripts",
"description": "Frequently used scripts pack.",
"support": "xsoar",
"currentVersion": "1.12.37",
"currentVersion": "1.12.38",
"author": "Cortex XSOAR",
"url": "https://www.paloaltonetworks.com/cortex",
"email": "",
Expand Down

0 comments on commit 78931f0

Please sign in to comment.