Skip to content

Render SVG which has <image> with xlink:href="data:image/png;base64,/9j/" (aka not matching mime type vs what image data is there) #1033

@ITaluone

Description

@ITaluone

Hi

First off: This is an impressive library/application for rendering svg to png (performance and quality-wise)

I have a situation where I embed images like the title says (mime type: image/png, but the encoded image is actually a jpeg (base64 starting with "/9j/" tells it).

Can I tell resvg somehow that it should ignore the mime type an render what's actually there (trying the most common mime types it knows) or tell it what mime types it should try?

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