Skip to content

Instantly share code, notes, and snippets.

@dayne
Created August 15, 2011 18:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dayne/1147439 to your computer and use it in GitHub Desktop.
Save dayne/1147439 to your computer and use it in GitHub Desktop.
qgis - print composer output

I'm seeing a repeatable bug in the latest (well, pulled from git a week ago) qgis.

Grab a raster file or wms

Give the raster some transparency (30% say)

New Print Composer

Make the whole image a map. I used A4 paper at 300dpi. (less than 300 no bug).

Export as Image -> PNG (or jpeg)

view PNG and see if the transparency was consistent in the output.


This sort of operation depends on so many different libraries and other things that I'd like some others to test it out.

The results I'm getting can be seen in this example image

--

Behavior is consistent across two boxes - Fedora 14 with custom gdal two week old git pull. Fedora 15 with yum install dependencies 2 day old git pull.

@dayne
Copy link
Author

dayne commented Aug 15, 2011

Looks like this is a known bug since 1.7:
http://hub.qgis.org/issues/3640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment