Skip to content

Getting black images after adding 27 images through addHTML  #1418

@AswarthaA

Description

@AswarthaA

I using JS PDF v 1.3.3, with in angular2 project. I am generating pdf with addHTML function. Code works fine for 26 pages. onces it crosses 26 pages complete pdf is generted with black images. I am using below code to generate the pdf.

has any one faced this kind of issue?

 this.pdfDoc.addHTML(this.pages[index], 0, 0, this @.options, () => {
                let obj = this.getClientHeightWidth(index);
                this.pdfDoc.addPage(obj.clientWidth, obj.clientHeight);
                index++;
                this.addPage(index);
            });

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