you can mix outputformats in the mapfile, ie have multiple OUTPUTFORMAT...END blocks. but only one is used at a time when the actual drawing takes place, so you can't have different outpuformats for different layers.
tb On 11/7/07, Milo van der Linden <[EMAIL PROTECTED]> wrote: > > Am I correct when I assume that in a single mapfile you can mix AGG and > GD outputformats? > > Frank Warmerdam schreef: > > Frédéric Junod wrote: > > Hi all, > > Does the AGG renderer support gif ? > > I suspect no because [1] don't mention it. > > I've try with: > > OUTPUTFORMAT > NAME gif > DRIVER "AGG/GIF" > MIMETYPE "image/gif" > END > > But mapserv returns: > "loadOutputFormat(): General error message. OUTPUTFORMAT clause references > > driver AGG/GIF, but this driver isn't configured." > > > Frédéric, > > I think the issue is that AGG produces 24bit output images, not 8bit > paletted > as supported by GIF. So only 24bit image formats (PNG, JPEG) are > available. > In theory GIF could be supported by "crushing" the image down to 8bit > paletted > after rendering is complete, but I think the results would be very > unsatisfactory in most cases. > > Best regards, > > > > -- > > > Milo van der Linden > skype: milovanderlinden > [EMAIL PROTECTED] > [EMAIL PROTECTED] > [EMAIL PROTECTED] > http://www.3dsite.nl > > > De informatie in dit bericht reflecteert mijn persoonlijke mening en niet > die van een bedrijf of instantie. Aan de informatie kunnen geen rechten > worden ontleend. Indien dit bericht onderdeel is van een forum, mailing-list > of community dan gelden automatisch de bij het betreffende medium behorende > voorwaarden. The information in this message reflects my personal opinion > and not that of a company or public body. All rights reserved.If this > message is contained in a mailing-list or community, the rights on the > medium are automatically adapted. >
