Skip to content

Support Base64 to image conversion without "data:image/png;base64," prefix #1772

@Jamieyiyi

Description

@Jamieyiyi

What type of request is this?

New feature for an existing tool

Clear and concise description of the feature you are proposing

When pasting a Base64 string that lacks the data:image/...;base64, prefix, the page displays a broken image icon (as shown in the image below). Although the image can be downloaded, the file itself is corrupted or cannot be opened.

Since Base64 strings do not always include the prefix, I would like to request a feature to automatically detect and prepand the appropriate prefix if it is missing, ensuring the image can be rendered and downloaded correctly.

Image

Is their example of this tool in the wild?

No response

Additional context

No response

Validations

  • Check the feature is not already implemented in the project.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions