Skip to content

save image as jpeg in local file system #16

@tmokmss

Description

@tmokmss

Currently we use webp when we save an image locally, but sometimes webp is not easy to read from several cli tools. Instead we should use jpeg.

Required changes:

  • Image is saved locally in worker/src/agent/common/messages.ts saveImageToLocalFs function
  • Before saving it, you convert the webp to jpeg using the sharp library

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions