AGG/GIF

Milo van der Linden mlinden at ZEELANDNET.NL
Wed Nov 7 11:12:26 EST 2007


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 <skype:milovanderlinden?add>
mlinden at zeelandnet.nl <mailto:mlinden at zeelandnet.nl>
milovanderlinden at gmail.com <mailto:milovanderlinden at gmail.com>
milo at 3dsite.nl <mailto:milo at 3dsite.nl>
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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071107/9a85f025/attachment.html


More information about the mapserver-users mailing list