[Cartoweb-users] FPDF error : Interlacing not supported

Oliver Christen oliver.christen at camptocamp.com
Mon Apr 12 05:36:58 EST 2010


hi Jérémie

I see you are using IMAGETYPE PNG24 in your mapfile, but you have no
outputformat named like that, only png and jpeg.
at the moment, your mapfile is using mapserver default internal outputformat
and not the one you have defined in your mapfile.

try with IMAGETYPE png or IMAGETYPE jpeg and see if the image generated
match the selected IMAGETYPE

regards
Oliver

2010/4/12 JOALLAND jérémie <j.joalland at memoris.fr>

>  I am facing FPDF error when trying to export my map in PDF ! and don’t
> know what is wrong.
>
>
>
> I am facing this error with both configuration : windows server (MS4W) and
> red hat linux server.
>
> I am using Cartoweb 3.5.0
>
>
>
> Here is the (wellknown) message :
>
> *FPDF error: *Interlacing not supported:
> C:\ms4w\apps\cartoweb3/htdocs/generated/images/4bc2f214_b4c_0.png
>
>
>
> But in my .MAP file, I have specify “Interflace = Off”, so I don’t
> understand this message !
>
> And my png files are created… so the problem is during the creation of the
> PDF.
>
>
>
> Here is the Map file output format lines :
>
> MAP
>
> NAME 'chloris'
>
> EXTENT 578407.013454855 1957191.25051712 769203.757996501 2200644.91596535
>
> IMAGETYPE PNG24
>
> IMAGECOLOR 255 255 255
>
> STATUS ON
>
> UNITS METERS
>
> FONTSET 'fonts.txt'
>
> SYMBOLSET 'symbols.txt'
>
> SHAPEPATH 'C:\ms4w\apps\cartoweb3\Chloris/data/'
>
>
>
> OUTPUTFORMAT
>
>   NAME png
>
>   DRIVER "GD/PNG"
>
>   MIMETYPE "image/png"
>
>   IMAGEMODE PC256
>
>   EXTENSION "png"
>
> *  FORMATOPTION "INTERLACE=OFF" *
>
>   TRANSPARENT OFF
>
> END
>
>
>
> OUTPUTFORMAT
>
> NAME jpeg
>
> DRIVER 'GD/JPEG'
>
> MIMETYPE 'image/jpeg'
>
> IMAGEMODE RGB
>
> EXTENSION 'jpg'
>
> *FORMATOPTION 'INTERLACE=OFF' *
>
> FORMATOPTION 'QUALITY=80'
>
> END
>
>
>
> SYMBOL
>
> NAME 'downwarddiagonalfill'
>
> TYPE vector
>
> TRANSPARENT 0
>
> POINTS
>
> 0 0
>
> 1 1
>
> END
>
> END
>
>
>
> REFERENCE
>
> IMAGE images/terr_agre.gif
>
> EXTENT 467110.09375 1920016.125 819839.75 2200645
>
> STATUS ON
>
> COLOR -1 -1 -1
>
> OUTLINECOLOR 200 0 0
>
> SIZE 124 100
>
> END
>
>
>
> SCALEBAR
>
> POSTLABELCACHE TRUE
>
> STYLE 0
>
> UNITS kilometers
>
> SIZE 350 3
>
> TRANSPARENT TRUE
>
> COLOR 77 77 88
>
> IMAGECOLOR 242 255 195
>
> BACKGROUNDCOLOR 222 222 222
>
> LABEL
>
> TYPE BITMAP
>
> SIZE SMALL
>
> COLOR 0 0 0
>
> POSITION UR
>
> BUFFER 10
>
> END
>
> END
>
>
>
> LEGEND
>
> KEYSIZE 20 15
>
> END
>
>>
>
>
> Please help me.
>
>
>
> Jeremie
>
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20100412/c9a5b827/attachment-0001.htm 


More information about the Cartoweb-users mailing list