Skip to content

[Bug]: Alpha channel is not respected on graphics #19978

Open
@gevorgter

Description

@gevorgter

Attach (recommended) or Link to PDF file

538250-1.pdf

The very first page has yellow bar but has a alpha channel that makes it semi transparent. But PDfjs shows solid yellow and text is not visible.

Web browser and its version

all

Operating system and its version

all

PDF.js version

all

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

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Upload attached file to example
    https://mozilla.github.io/pdf.js/web/viewer.html

What is the expected behavior?

Yellow bar should be semi transparent.

What went wrong?

Yellow bar should be semi transparent. See screenshots

Image
vs
Image

Link to a viewer

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions