Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

Support for webp images #36

@Prat041192

Description

@Prat041192

Hi All,
I have a Feature request to make and looking for the workaround at the moment too.

Issue: Adding png adds to the size of pdf as well as adds to the load time of the webpage.

I'm using jspdf for generating pdf from the visualization (d3 graph and images and text) over the web portal I'm working on. and most of my images are webp images.

Currently, addImage does not support adding Webp images to the pdf as I can see, usually, the websites or web portals use webp images to reduce the load time of the webpage.

It would be nice to have if the library can support and a big help if anyone can help me with the workaround at the moment.
I'm trying this nice library webp-converter may be others have better ideas to share.

Thanks in advance,

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