Skip to content

[Req]: Image Tool #28

Closed
Closed

Description

@dlford

Contact Details

No response

Explain the proposed feature

A tool for optimizing and reformatting images.

Explain the possible use cases for the feature

No response

Any other details you would like to provide?

This can't likely be done in browser alone, it may be possible to do using server-less functions which should be explored.

This tool should at minimum:

  • convert images between jpeg, gif, png, webp, and avif formats
  • optionally optimize the image to reduce its size

Activity

  1. gaston-flores commented on Oct 8, 2022

    @gaston-flores
    Contributor

    For a low-effort approach, how about using canvas' toDataURL? It supports png, jpeg, and webp as output formats.

    A more complete implementation would use a serverless function to run sharp, but that won't be cheap.

  2. dlford commented on Oct 8, 2022

    @dlford
    MemberAuthor

    @gaston-flores would you like to take a crack at the canvas method?

  3. gaston-flores commented on Oct 8, 2022

    @gaston-flores
    Contributor

    Sure!

  4. added
    hacktoberfestThis is a valid Hacktoberfest issue
    and removed
    exploringDeciding how best to solve this
    on Oct 8, 2022
  5. linked a pull request that will close this issuefeat: add image converter #43on Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature requestNew feature or requesthacktoberfestThis is a valid Hacktoberfest issue

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions