0

I have a couple of raster layers in QGIS 3.28.2 Firenze. One layer is in Hillshade mode and the second one (on top ) is configured as Pseudocolor monoband and has mixing mode set as Multiply so the hillshade shows and the map gets the shadows that give a 3d look. Everything looks fine in the QGIS main screen and in the composer screen but when I export the composition to PDF or as a PNG image the hillshade mixing disapears and only the Pesudocolor is visible.

This is how it looks in the composer screen:

Composer screen capture

And this is what I get when exported:

Image exported

I tried to export asPNG and PDF, tried to lower the export resolution, invert the layers order, close and open QGIS and export again. It keeps exporting a flat image with no hillshade.

6
  • Afaik mixing is a poor choice for exporting maps. Some versions ago "mixed" layers even prevented map creation.
    – Erik
    Commented May 25, 2023 at 12:19
  • Oh! Do you know if there is any alternative method or workaround to apply a hillshade shading over a raster?
    – FedericoL
    Commented May 25, 2023 at 12:25
  • Have you tried export as displayed on the hillshade layer and then using that layer for map creation?
    – Erik
    Commented May 25, 2023 at 12:29
  • I just found there's an open issue in Github for this bug... "Layer blending mode reset on export for all file types #50526" github.com/qgis/QGIS/issues/50526
    – FedericoL
    Commented May 25, 2023 at 18:29
  • Until the bug is addressed can you get satisfactory results by making your pseudocolor partially transparent over the hillshade?
    – John
    Commented May 26, 2023 at 14:39

1 Answer 1

1

I found that there's an issue in Github for this bug.

"Layer blending mode reset on export for all file types #50526"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.