Skip to content

Conversation

@remote-swe-user
Copy link
Contributor

@remote-swe-user remote-swe-user commented Apr 4, 2025

Description

This PR fixes issue #16 by changing the image format from webp to JPEG when saving images locally.

Changes

  • Modified the saveImageToLocalFs function to convert webp images to JPEG format before saving
  • WebP format is still used in the postProcessMessageContent function for efficiency
  • Changed file extension from 'webp' to 'jpeg'

This change improves compatibility with various CLI tools that may not handle webp files as easily as JPEG.

closes #16

@tmokmss tmokmss merged commit 0fa8a79 into aws-samples:main Apr 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

save image as jpeg in local file system

2 participants