Skip to content

I am unable to decode my Base64 data URI into a PNG image #1677

Open

Description

@doggy8088

Current behavior

I have a Base64 image that is a valid PNG format.

base64-data-uri-string.txt

When I paste into DevToys, there is no image shown in the preview area.

Image

If I base64 decode this base64-string under WSL, I will get a valid PNG file.

base64 -d ./a.txt > a.png

How to reproduce it (as minimally and precisely as possible)

  1. download base64-data-uri-string.txt
  2. paste into DevToys > Base64 Image
  3. The image unable shown.

Expected behavior

I expected the image shown in the preview area.

Screenshots

Image

Workaround

No

Affected platforms

Windows

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

I tried the following version, all failed.

  • Version 1.0.14.0 | X64 | RELEASE | 3ad0ff2 | 3ad0ff2
  • Version 2.0-preview.3

Relevant Assets/Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions