Skip to content

[Bug] metadata gives wrong result #158

@dougg0k

Description

@dougg0k

Search before asking

  • I searched in the issues and found nothing similar.

Image version

1.11.2

System version

Arch Linux based - latest

Node.js version

Latest LTS

Minimal reproduce step

Transformer.fromSvg(image).resize(some_width).metadata(false)

What did you expect to see?

The right width and height, but also the format type, from the metadata.

What did you see instead?

A value completely different from the resize result that were done before it.

It's as if it before any conversion, from the svg, it determined it to be a png.

Anything else?

Not sure, but when resizing svg, it seems that the content results in a smaller version yet the background seems the right size. Might be another bug with svgs.

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions