Skip to content

SVG convert to png Error [g_path_get_dirname: assertion 'file_name != NULL' failed] #2384

@ibrahimahmed-io

Description

@ibrahimahmed-io

Hi All,

I am getting this error when trying to convert my svg file to png "(sharp:28256): GLib-CRITICAL **: 23:27:06.951: g_path_get_dirname: assertion 'file_name != NULL' failed"

Here's SVG Content

<g transform="matrix(1 0 0 1 193.5 207)" > <image style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" xlink:href="data:image/png;base64," x="-99.5" y="-75" width="199" height="150"></image> </g> <g transform="matrix(1 0 0 1 438.5 211)" > <image style="stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(0,0,0); fill-rule: nonzero; opacity: 1;" xlink:href="data:image/png;base64," x="-99.5" y="-75" width="199" height="150"></image> </g>

Capture

sample.zip

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions