Skip to content

PDF export missing raster layer if Blend Mode is Multiply and Mask labels #49488

Open

Description

@dgreenewalt

What is the bug or the crash?

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.

New profile

  • I tried with a new QGIS profile

Additional context

No response

Activity

  1. added
    BugEither a bug report, or a bug fix. Let's hope for the latter!
    on Jul 27, 2022
  2. changed the title [-]PDF export missing raster layer if multiply[/-] [+]PDF export missing raster layer if Blend Mode is Multiply[/+] on Jul 27, 2022
  3. added
    RastersRelated to general raster layer handling (not specific data formats)
    on Jul 27, 2022
  4. dgreenewalt commented on Aug 2, 2022

    @dgreenewalt
    Author

    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.
    masksample

    nomasksample

  5. 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
  6. added
    Print LayoutsRelated to QGIS Print Layouts, Atlas or Reporting frameworks
    RegressionSomething which used to work, but doesn't anymore
    and removed
    RastersRelated to general raster layer handling (not specific data formats)
    on Aug 8, 2022
  7. gioman commented on Aug 8, 2022

    @gioman
    Contributor

    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?

  8. added
    FeedbackWaiting on the submitter for answers
    on Aug 8, 2022
  9. dgreenewalt commented on Aug 10, 2022

    @dgreenewalt
    Author

    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.

  10. removed
    FeedbackWaiting on the submitter for answers
    on Aug 11, 2022
  11. dgreenewalt commented on Aug 16, 2022

    @dgreenewalt
    Author

    Tested with version 3.26.2 - same result. Raster layer #2 does not export if label masking is active.

  12. FeroS66 commented on Mar 27, 2023

    @FeroS66

    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.

  13. toineR-31 commented on Jul 6, 2023

    @toineR-31

    test with 3.28.8 LTR and 3.32.0 and the problem is still here.

  14. FeroS66 commented on Jul 25, 2023

    @FeroS66

    3.28.9 LTR - problem not solved.

  15. jeremyferris commented on Sep 21, 2024

    @jeremyferris

    I have experienced this on numerous maps that I have done over the past year and a half and have a few questions:

    1. Is there a plan to fix this or a way to boost the priority on this bug?
    2. Is there any info on the change that caused this regression bug?
    3. Could someone point me to the offending portion of code so I could have a look?
  16. scape3d commented on Nov 21, 2024

    @scape3d

    3.34.4 still not working

  17. added a commit that references this issue on Jun 9, 2025
    e5e99e5
  18. amykyta3 commented on Oct 3, 2025

    @amykyta3

    Confirmed still an issue in 3.44.3.
    Also, the issue is not limited to just PDFs. This also affects PNG output.

  19. kentlocke commented on Apr 15, 2026

    @kentlocke

    Having the same issue using QGIS v3.44.8 (LTR Solothurn)

  20. moved this from Backlog to In progress in QGIS 4.4 Releaseon Oct 15, 2026
  21. added a commit that references this issue on Oct 16, 2026
    48615ed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugEither a bug report, or a bug fix. Let's hope for the latter!Print LayoutsRelated to QGIS Print Layouts, Atlas or Reporting frameworksRegressionSomething which used to work, but doesn't anymore

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions