obsidian-typst icon indicating copy to clipboard operation
obsidian-typst copied to clipboard

[Bug]: Not support PNG file parse

Open xjxl520303 opened this issue 8 months ago • 0 comments

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.

xjxl520303 avatar Jun 20 '24 09:06 xjxl520303