Firstly, thanks to anybody who helps me and I am so glad to tell you that it gets better when I changed the mapfile and config.php to enable png24 OutputFormat. I do it like this :<br>1)in the mapfile ,add these lines:<br>
OUTPUTFORMAT<br>NAME png<br>DRIVER "GD/png"<br>MIMETYPE "image/png"<br>IMAGEMODE RGB<br>EXTENSION "png"<br>END<br>2)in the config.php, I changed the default PNG OutputFormat to PNG24<br><br>However, it's still not so good like I have expected. First, there is still shadows at the bottom of the map. Second, the colors of some part is a little different from the original picture. I have tested that when I changed <br>
PNG to JPEG in both mapfile and config.php , the shadows at the bottom disappeared while the map became very dazzling with something like colorful pepper and salt noisy. It is the same with DITHERED .<br>The picture which I use in the mapfile as a raster data is from Google Earth. It is about 100M and its format is JPEG (maybe it is why the bottom shadows disappear when I changed the OutputFormat to JPGE ,I guess). Now I do not know what I should do to make the map looks better in ka-map. THX in advance for any help! <br>
<br><br><div class="gmail_quote">On Sat, Sep 26, 2009 at 3:05 AM, joel ml <span dir="ltr"><<a href="mailto:mpg70221725@yahoo.com.ar">mpg70221725@yahoo.com.ar</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br><br>
><br>
> 1. about the padding part in the<br>
> displayed map (???)<br>
>> ----------------------------------------------------------------------<br>> Content-Type: text/plain; charset="iso-8859-1"<br>
<div><div></div><div class="h5">><br>
> I download and configure ka-map according to my private<br>
> situation,<br>
> everything goes well except that there are some padding<br>
> parts (I call them<br>
> shadows) in the displayed image .I just test to produce an<br>
> image through a<br>
> mapfile with only one layer(just a tiff picture with its<br>
> geoinfo file .tfw).<br>
> It is ok to display the image, but the color of most parts<br>
> in the image is<br>
> changed from original ,also many shadows of different<br>
> colors appear at the<br>
> border of the image. What is the problem? Hope someone can<br>
> help me .<br>
> Maybe it is due to the tile parameter ,but I have tried to<br>
> change them and<br>
> the issue is still there.<br>
</div></div>> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <a href="http://lists.maptools.org/pipermail/ka-map-users/attachments/20090925/7d5e0047/attachment.html" target="_blank">http://lists.maptools.org/pipermail/ka-map-users/attachments/20090925/7d5e0047/attachment.html</a><br>
><br>
><br>
> ------------------------------<br>
><br>
> _______________________________________________<br>
> ka-Map-users mailing list<br>
> <a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>
> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
><br>
><br>
> End of ka-Map-users Digest, Vol 53, Issue 3<br>
> *******************************************<br>
><br>
Joel:<br>
<br>
hello, the problem you describe, I think it is due to the<br>
configuration of OutputFormat, if you want your layers<br>
raster display as the original, then use the<br>
RGB PNG format, you must configure the file<br>
"config.php".<br>
greetings!<br>
<br>
<br>
Yahoo! Cocina<br>
<br>
Encontra las mejores recetas con Yahoo! Cocina.<br>
<br>
<br>
<a href="http://ar.mujer.yahoo.com/cocina/" target="_blank">http://ar.mujer.yahoo.com/cocina/</a><br>
_______________________________________________<br>
ka-Map-users mailing list<br>
<a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
</blockquote></div><br>