hi Jérémie<br><br><span style="color: rgb(0, 0, 0);">I see you are using IMAGETYPE PNG24 in your mapfile, but you have no outputformat named like that, only png and jpeg.</span><br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);">at the moment, your mapfile is using mapserver default internal outputformat and not the one you have defined in your mapfile.</span><br style="color: rgb(0, 0, 0);">
<br style="color: rgb(0, 0, 0);"><span style="color: rgb(0, 0, 0);" lang="EN-US">try with IMAGETYPE png or IMAGETYPE jpeg and see if the image generated match the selected IMAGETYPE<br><br>regards<br>Oliver<br style="color: rgb(0, 0, 0);">
</span><br><div class="gmail_quote">2010/4/12 JOALLAND jérémie <span dir="ltr"><<a href="mailto:j.joalland@memoris.fr">j.joalland@memoris.fr</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="FR">
<div>
<p class="MsoNormal"><span lang="EN-US">I am facing FPDF error when trying to export
my map in PDF ! and don’t know what is wrong.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I am facing this error with both
configuration : windows server (MS4W) and red hat linux server.</span></p>
<p class="MsoNormal"><span lang="EN-US">I am using Cartoweb 3.5.0</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Here is the (wellknown) message :</span></p>
<p class="MsoNormal"><b><span style="color: rgb(112, 48, 160);" lang="EN-US">FPDF error: </span></b><span style="color: rgb(112, 48, 160);" lang="EN-US">Interlacing not supported:
C:\ms4w\apps\cartoweb3/htdocs/generated/images/4bc2f214_b4c_0.png </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">But in my .MAP file, I have specify “Interflace
= Off”, so I don’t understand this message !</span></p>
<p class="MsoNormal"><span lang="EN-US">And my png files are created… so the
problem is during the creation of the PDF.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Here is the Map file output format lines :</span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">MAP </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">NAME 'chloris' </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">EXTENT
578407.013454855 1957191.25051712 769203.757996501 2200644.91596535 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">IMAGETYPE PNG24 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">IMAGECOLOR 255 255
255 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">STATUS ON </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">UNITS METERS </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">FONTSET 'fonts.txt' </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">SYMBOLSET
'symbols.txt' </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">SHAPEPATH
'C:\ms4w\apps\cartoweb3\Chloris/data/'</span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">OUTPUTFORMAT </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> NAME png </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> DRIVER
"GD/PNG" </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> MIMETYPE
"image/png" </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> IMAGEMODE PC256 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> EXTENSION
"png" </span></p>
<p class="MsoNormal"><b><span style="color: rgb(112, 48, 160);" lang="EN-US"> FORMATOPTION
"INTERLACE=OFF" </span></b></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> TRANSPARENT OFF </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">END </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">OUTPUTFORMAT </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">NAME jpeg </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">DRIVER 'GD/JPEG' </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">MIMETYPE 'image/jpeg'
</span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">IMAGEMODE RGB </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">EXTENSION 'jpg' </span></p>
<p class="MsoNormal"><b><span style="color: rgb(112, 48, 160);" lang="EN-US">FORMATOPTION
'INTERLACE=OFF' </span></b></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">FORMATOPTION
'QUALITY=80' </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">END </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">SYMBOL </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">NAME
'downwarddiagonalfill' </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">TYPE vector </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">TRANSPARENT 0 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">POINTS </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">0 0 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">1 1 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">END </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">END </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">REFERENCE </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">IMAGE
images/terr_agre.gif </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">EXTENT 467110.09375
1920016.125 819839.75 2200645 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">STATUS ON </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">COLOR -1 -1 -1 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">OUTLINECOLOR 200 0 0 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">SIZE 124 100 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">END </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">SCALEBAR </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">POSTLABELCACHE TRUE </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">STYLE 0 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">UNITS kilometers </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">SIZE 350 3 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">TRANSPARENT TRUE </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">COLOR 77 77 88 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">IMAGECOLOR 242 255
195 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">BACKGROUNDCOLOR 222
222 222 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">LABEL </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">TYPE BITMAP </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">SIZE SMALL </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">COLOR 0 0 0 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">POSITION UR </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">BUFFER 10 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">END </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">END </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">LEGEND </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">KEYSIZE 20 15 </span></p>
<p class="MsoNormal"><span style="color: rgb(112, 48, 160);" lang="EN-US">END</span></p>
<p class="MsoNormal"><span lang="EN-US">…</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Please help me.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Jeremie</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
</div>
</div>
<br>_______________________________________________<br>
Cartoweb-users mailing list<br>
<a href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
<a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
<br></blockquote></div><br>