-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Description
Preconditions and environment
Tested with Magento 2.4.3 and 2.4.6
Steps to reproduce
Create a watermark PNG that has a transparent background and a section that is white.
Below is a sample watermark file that I created. In this file I used a transparent background and created 2 "white" rectangles -- the upper left one is pure white, HTML #ffffff, but the lower right rectangle is slightly off-white, HTML #fefefe. To the eye both look white. NOTE that in the white background of github it looks like nothing is here, go over the whitespace below and you'll see the link to the watermark image.
Now go to Magento Config->Content->Design Configuration.
Edit Global and upload the watermark PNG image.
Set opacity to 50 and image size to 100x100, center.
Save the settings.
Now load a product page.
You'll see the product page with the watermark overlaid. The upper left corner rectangle that was pure white in the watermark file will actually display as black, not white, where as the slightly off-white rectangle will display as white, as expected.
Expected result
Both the pure white rectangle and the slightly off-white rectangle should appear white in the watermark.
Actual result
The pure white rectangle displays as it would if black were used in the watermark, instead of white.
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.