Skip to content

[Bug]: gradients are not rendered correctly #20078

Open
@948764321

Description

@948764321

Attach (recommended) or Link to PDF file

gradients-test.pdf

Web browser and its version

Chrome 138

Operating system and its version

Windows 10

PDF.js version

v5.3.93

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

In the sample PDF, all gradient colors are displayed as solid colors

What is the expected behavior?

Image

What went wrong?

Image

Link to a viewer

No response

Additional context

No response

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