Skip to content

Fails to open temporary image file in Windows 11 #2

@b-van-b

Description

@b-van-b

Describe the bug

When attempting to load a PNG image for compression, the plugin returns the following error:

Failed to compress PNG file using PNGQUANT. Exit code: 2. Error: error: cannot open C:\Users\XXXX\AppData\Local\DevToys-preview\Temp\tmpohwxq1.png for reading

There is no DevToys-preview folder in ...\AppData\Local. Creating such a folder manually does not solve the issue.

To Reproduce

Open the plugin in DevToys-preview. Drag & drop, copy & paste, browse for a PNG file, or browse for a folder containing a PNG file.

Expected behavior

The plugin should compress the PNG file.

Desktop

  • OS: Windows 11 Home
  • DevToys v2.0-preview.1
  • PNG Compressor 1.0.0-pre.0

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