Skip to content

image cannot display when I rendered to canvas #16390

@yaotengyuan

Description

@yaotengyuan

Attach (recommended) or Link to PDF file here:

Configuration:

  • Web browser and its version:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
  • Operating system and its version:
  • PDF.js version:3.5.141
  • Is a browser extension:

Steps to reproduce the problem:

  1. when I render to canvas,so that I can view the pdf on my website.
  2. all of the pictures in my pdf can not be rendered on canvas.After I checked the console, it said
    Warning: Unable to decode image "img_p1_1": "TypeError: Found invalid object in transferList".
  3. I use the pdfjs in electron,is this matter with the problem?

What is the expected behavior? (add screenshot)
image

What went wrong? (add screenshot)
image

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

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