<div dir="ltr">Hello, <br>I think this issue is pretty much solved, meaning that we now know why it occurs.<br><br>A detailed explanation can be found on the MapServer issue tracker here: <a href="https://github.com/mapserver/mapserver/issues/4722">https://github.com/mapserver/mapserver/issues/4722</a><br>
<br>Nevertheless I guess this would be helpful for those who use symbols for displaying purposes.<br><br>Best,</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 1, 2013 at 1:34 AM, Eli Adam <span dir="ltr"><<a href="mailto:eadam@co.lincoln.or.us" target="_blank">eadam@co.lincoln.or.us</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Wed, Jul 31, 2013 at 2:01 PM, Robert R. Raiz <span dir="ltr"><<a href="mailto:raizrobert@gmail.com" target="_blank">raizrobert@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Eli,<br><br>I already tried both shp2img and legend commands in mapserver but still, the result is not good. I am familiar with all the mapserver documentation as I am using it for many years now. Trying to find a link between all these and I just realized that maybe libpng 1.6.2 has something to do with it. I will troubleshoot per advice and come back with the results.</div>


</blockquote><div><br></div></div><div>You may get better help on the mapserver-users or mapserver-dev list for something like the specifics of png symbol rendering in MapServer.  Removing all aspects of GeoMoose before asking will probably get you a better response on MapServer lists.  shp2img is a great way to separate the two.  <br>

<br></div><div>Once you have it solved, you could follow up here with a summary or link to the details since it may be of interest to other GeoMoose users.  <br></div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Eli<br></div></font></span><div class="im"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Wed, Jul 31, 2013 at 6:38 PM, Eli Adam <span dir="ltr"><<a href="mailto:eadam@co.lincoln.or.us" target="_blank">eadam@co.lincoln.or.us</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, Jul 30, 2013 at 11:07 PM, Robert R. Raiz <span dir="ltr"><<a href="mailto:raizrobert@gmail.com" target="_blank">raizrobert@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello all,<br><br>This is somehow related to a previous post I made regarding an <i>"Image handling error. Unsupported output format (image/png;bits=8)".<br>




</i><br>I went to the demo part in GeoMoose and added to the original, untouched demo folders another layer (point shapefile - containing a few points), an icon (.png) in the symbol folder and all the other data connected to this layer (declaring it in the symbol.sym, mapbook.xml and so on) in order to display it.<br>





<br>The thing is, whatever I do with the output format (state only one, none, or more, combinations, specifying option, changing imagetypes and so on) the symbol (.png file) does not render well - it gets fuzzy, pixelated. Like it does not preserve its quality or something like this.<br>





<br>The icon has a good quality, clear image, smooth edges, even at a small size (in my normal viewer). Displayed in GeoMoose it looses the quality.<br></div></blockquote><div><br></div></div><div>Taking GeoMoose out of the equation is one way to simplify this troubleshooting.  <br>




</div><div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br>Can I ask some of you to try and replicate this? just add 2,3 points somewhere in your project and an icon to be displayed for those points. I would really like to see where the issue comes from as I am stuck at this part of my project for close to two weeks now and I cannot find a fix to this. Not sure what to modify, if its a mapserver thing or something else.<br>




</div></blockquote><div><br></div></div><div>You can try using the shp2img utility to test just your map file and see the quality of output.  There is a pointer to the Test your Mapfile section of MapServer docs, <a href="http://mapserver.org/optimization/debugging.html#step-5-test-your-mapfile" target="_blank">http://mapserver.org/optimization/debugging.html#step-5-test-your-mapfile</a>,  from the GeoMoose FAQ, <a href="http://www.geomoose.org/docs/faq.html?highlight=shp2img#why-am-i-getting-these-pink-tiles-when-i-look-at-geomoose" target="_blank">http://www.geomoose.org/docs/faq.html?highlight=shp2img#why-am-i-getting-these-pink-tiles-when-i-look-at-geomoose</a>.  There are some additional details on shp2img on the GeoMoose wiki, <a href="http://www.geomoose.org/wiki/index.php/Troubleshooting_map_files_with_shp2img" target="_blank">http://www.geomoose.org/wiki/index.php/Troubleshooting_map_files_with_shp2img</a><br>




<br></div><div>MapServer has additional details about symbols.  Here is a specific note about the use of PNGs, <a href="http://www.mapserver.org/mapfile/symbology/construction.html#symbols-of-type-pixmap" target="_blank">http://www.mapserver.org/mapfile/symbology/construction.html#symbols-of-type-pixmap</a><br>




</div><div><br></div><div>Using shp2img you can evaluate the output from MapServer.  If you are not getting quality output from MapServer, then you will not get quality output in GeoMoose.  If you are getting quality output from MapServer then you can remove it from the equation and troubleshoot GeoMoose.  The first step would be to compare the specific request made in GeoMoose and see if the parameters are the same as what you were using in MapServer.  If so, then you should be getting similar quality output.  If not, then you can be focused on trying to configure GeoMoose to be using the same parameters as you were using in MapServer.  <br>




<br></div><div>Best Regards, Eli<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div dir="ltr">
<br>I appreciate any help I can get,<span><font color="#888888"><br><div><br></div>-- <br><b><i>Raiz Roland Robert</i></b><br><br><br>
</font></span></div>
<br></div>_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><b><i>Raiz Roland Robert</i></b><br><br><br>
</font></span></div>
</blockquote></div></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><b><i>Raiz Roland Robert</i></b><br><br><br>
</div>