You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PDF export missing raster layer if Blend Mode is Multiply and Mask labels #49488
Export layout or map to PDF with 2 raster layers. One layer set to Blending Mode = Multiply. That layer is not exported. If set to "Normal" and transparency 50%, both layers export, but not the desired effect.
Steps to reproduce the issue
load 2 raster (tif) layers
set layer 1 display to normal blending mode
set layer 2 display to multiply
"export map to PDF"
or create layout and "export as PDF"
Versions
Windows 10
not working in 3.26
working with 3.24
Supported QGIS version
I'm running a supported QGIS version according to the roadmap.
The offending layer looks to be a vector layer (contours) with labels (elevation) using masking. If mask is unchecked, the layers export as in the screen display. If mask is used the underlaying raster does not display.
changed the title [-]PDF export missing raster layer if Blend Mode is Multiply[/-][+]PDF export missing raster layer if Blend Mode is Multiply and Mask labels[/+]on Aug 2, 2022
The offending layer looks to be a vector layer (contours) with labels (elevation) using masking. If mask is unchecked, the layers export as in the screen display. If mask is used the underlaying raster does not display.
@dgreenewalt seems to work fine in the same scenario here (3.26.1), could you attach a small sample project?
export the view or layout to pdf (or jpg) and the hillshade layer doesn't show. I can't use raster with "Multiply" (transparency does work) or contour labels with masking.
Thank you for looking into this. Maybe a project setting I have wrong? I've tried these 4 layers in a new project with no luck.
This bug is still in 3.28.4 version.
Exports to TIFF or PDF does not accept multiply setting of the overlay layer when there is vector layer with mask enabled.
In 3.22.15 version everthing works fine.
Activity
[-]PDF export missing raster layer if multiply[/-][+]PDF export missing raster layer if Blend Mode is Multiply[/+]dgreenewalt commentedon Aug 2, 2022
The offending layer looks to be a vector layer (contours) with labels (elevation) using masking. If mask is unchecked, the layers export as in the screen display. If mask is used the underlaying raster does not display.

[-]PDF export missing raster layer if Blend Mode is Multiply[/-][+]PDF export missing raster layer if Blend Mode is Multiply and Mask labels[/+]gioman commentedon Aug 8, 2022
@dgreenewalt seems to work fine in the same scenario here (3.26.1), could you attach a small sample project?
dgreenewalt commentedon Aug 10, 2022
testing.zip
Here is a link to geopackage including data and project.
https://ln5.sync.com/dl/2f8a2b5b0/abvveu62-8h9bgj5m-ay87kzth-6zxcch8g
export the view or layout to pdf (or jpg) and the hillshade layer doesn't show. I can't use raster with "Multiply" (transparency does work) or contour labels with masking.
Thank you for looking into this. Maybe a project setting I have wrong? I've tried these 4 layers in a new project with no luck.
dgreenewalt commentedon Aug 16, 2022
Tested with version 3.26.2 - same result. Raster layer #2 does not export if label masking is active.
FeroS66 commentedon Mar 27, 2023
This bug is still in 3.28.4 version.
Exports to TIFF or PDF does not accept multiply setting of the overlay layer when there is vector layer with mask enabled.
In 3.22.15 version everthing works fine.
toineR-31 commentedon Jul 6, 2023
test with 3.28.8 LTR and 3.32.0 and the problem is still here.
FeroS66 commentedon Jul 25, 2023
3.28.9 LTR - problem not solved.
jeremyferris commentedon Sep 21, 2024
I have experienced this on numerous maps that I have done over the past year and a half and have a few questions:
scape3d commentedon Nov 21, 2024
3.34.4 still not working
Fix blend mode ignored when exporting maps with masking
amykyta3 commentedon Oct 3, 2025
Confirmed still an issue in 3.44.3.
Also, the issue is not limited to just PDFs. This also affects PNG output.
kentlocke commentedon Apr 15, 2026
Having the same issue using QGIS v3.44.8 (LTR Solothurn)
Add failing tests for qgis#49488, qgis#58230
Fix blend mode ignored when exporting maps with masking
Fix blend mode ignored when exporting maps with masking