<div dir="ltr">Hello all, <br><br>Recently I switched from Mapserver 5.0 & Chameleon to Mapserver 6.2.1 and GeoMoose.<br><br>The problem is that I lost the quality of my png icons (symbols). They do not render well in the new setup - GeoMoose nor with legend or shp2img commands (fuzzy edges, no clear colors) like it would render 8bit instead of a higher quality. <br>
<br>I wonder what could be the cause of it? maybe libpng 1.6.2? (I used 1.2.43 back in MapServer 5.0);<br><br>I tried both the legend command and shp2img to see what happens there. I am pasting the result from shp2img --all_debug 5:<br>
<br><div>msLoadMap(): 0.003s</div><div>msDrawMap(): rendering using outputformat named png24 (AGG/PNG).</div><div>msDrawMap(): WMS/WFS set-up and query, 0.000s</div><div>msDrawMap(): Layer 0 (Land), 0.002s</div><div>libpng warning: iCCP: known incorrect sRGB profile</div>
<div>libpng warning: Interlace handling should be turned on when using png_read_image</div><div>msDrawMap(): Layer 1 (Hospital), 0.008s</div><div>msDrawMap(): Layer 2 (Clinic), 0.034s</div><div>libpng warning: iCCP: known incorrect sRGB profile</div>
<div>libpng warning: Interlace handling should be turned on when using png_read_image</div><div>msDrawMap(): Layer 3 (Library), 0.019s</div><div>libpng warning: iCCP: known incorrect sRGB profile</div><div>libpng warning: Interlace handling should be turned on when using png_read_image</div>
<div>msDrawMap(): Layer 4 (Museum), 0.007s</div><div>msDrawMap(): Drawing Label Cache, 0.000s</div><div>msDrawMap() total time: 0.074s</div><div>msSaveImage(elpaso2.png) total time: 0.107s</div><div>msFreeMap(): freeing map at 0x1a03480.</div>
<div>freeLayer(): freeing layer at 0x1a0c3c0.</div><div>freeLayer(): freeing layer at 0x1a0ddc0.</div><div>freeLayer(): freeing layer at 0x1a11550.</div><div>freeLayer(): freeing layer at 0x1a148f0.</div><div>freeLayer(): freeing layer at 0x1a17bc0.</div>
<div>freeLayer(): freeing layer at 0x1a1aed0.</div><div>shp2img total time: 0.186s</div><div><br>As you can see, except layer 0 where I do not have symbols, all of them return an error.<br>Can anyone help me fix this issue?<br>
Thank you all,</div><div><br></div>-- <br><b><i>Robert</i></b><br><br><br>
</div>