<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1515" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to get mapserver to output a pdf file
from a tiff image.</FONT></DIV>
<DIV><FONT face=Arial size=2>I can't seem to find much documentation about
creating pdf files with mapserver so I thought I'd post something in
here.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm able to create a pdf, but the file seems to
only have 256 colors.</FONT></DIV>
<DIV><FONT face=Arial size=2>Below is a copy of the map file I use. Am I doing
something wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>MAP<BR> NAME
test<BR> STATUS ON<BR>
OUTPUTFORMAT<BR> NAME pdf<BR>
MIMETYPE "application/x-pdf"<BR> DRIVER
pdf<BR> IMAGEMODE RGB<BR>
EXTENSION "pdf"<BR> END<BR> SIZE 10800
10800<BR> EXTENT 679793.750000 5485393.75 717518.75
5515106.250000<BR> UNITS METERS<BR>
PROJECTION "proj=utm" "ellps=clrk66" "zone=11" "datum=NAD27"
END<BR> LAYER<BR> NAME
"82G09"<BR> TYPE RASTER<BR> STATUS
ON<BR> DATA "082G09FN.tif"<BR> PROJECTION
"proj=utm" "ellps=clrk66" "zone=11" "datum=NAD27"
END<BR> END</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>END</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Andrew</FONT></DIV></BODY></HTML>