Skip to content

ImageCompression is not being exposed #2894

Closed
@BeejeeDS

Description

@BeejeeDS

I want to use the addImage method but this is not possible because ImageCompression is not being exposed in the typings.
I am using version 2.1.0

The only workaround is using any to fool ts.
pdf.addImage(contentDataUrl, 'JPEG', margin, margin, width , height, null, ("NONE") as any);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions