<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-AU" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I’ve had an interesting couple of days dealing with PDF sizes.  We have a very large vector layer of flood model output, being put into an A3 map covering a large area.<o:p></o:p></p>
<p class="MsoNormal">Initially this produced a 5MB ish PDF, but at some stage the PDF size jumped to 30MB.  It looks like the new “simplify geometries to reduce output size” option was not working.<o:p></o:p></p>
<p class="MsoNormal">We were able to get around this by forcing the layer to render as a raster in the layer properties.<o:p></o:p></p>
<p class="MsoNormal">A couple of days later we decided the layer should have 100% opacity instead of 80%.<o:p></o:p></p>
<p class="MsoNormal">The opacity displayed correctly in the main map and layout, but in the PDF exports it stayed stubbornly at 80%.<o:p></o:p></p>
<p class="MsoNormal">Turning off the force to render as raster allowed the opacity to display correctly again.  The file size stayed low too, so simplify geometries seems to work again.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">At this stage we have solved the practical problem, but I’m still curious about the underlying issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Switching back to render as raster broke it again.<o:p></o:p></p>
<p class="MsoNormal">Re-adding the shapefile did not work.<o:p></o:p></p>
<p class="MsoNormal">Forcing another layer to render as raster resulted in both correct behaviour on the new layer, and fixing the problem on the old layer.<o:p></o:p></p>
<p class="MsoNormal">Turning off the forcing on the second layer, results in the first layer playing up again.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Initial issues were using 3.10.1 now on 3.12.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Anyone have a clue what might be going on?<o:p></o:p></p>
<p class="MsoNormal">Seems like there might be a cached version of the rasterization somewhere, but it recurs even if I change the colour.<o:p></o:p></p>
<p class="MsoNormal">I notice raster layers have opacity set in a different place to vector layers, so perhaps the opacity level for the generated raster layer has somehow been saved somewhere.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><span style="color:#1F497D;mso-fareast-language:EN-GB">Michael Dufty</span></b><span style="color:#1F497D;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>