Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Not support PNG file parse #56

Open
xjxl520303 opened this issue Jun 20, 2024 · 0 comments
Open

[Bug]: Not support PNG file parse #56

xjxl520303 opened this issue Jun 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xjxl520303
Copy link

When use PNG file in Figure's imge, like the follow code:

#figure(
  image("附件/24.png", width: 50%),
  caption: [
    图片描述文字。
  ]
)

report ERROR:

Error: failed to decode image (Format error decoding Png: Invalid PNG signature.)
   ╭─[/README.md:7:3]
   │
   │ 
───╯

But works well in vs code with same image file.

@fenjalien fenjalien added the bug Something isn't working label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants