OpenLayers uses jpeg by default for WMS layers, so change it in the
constructor of your WMS.Untiled layer:
'format':'image/png', i.e.:
baselayer0 = new OpenLayers.Layer.WMS.Untiled( "Standaard",
"http://test.intranet.rijkswaterstaat.nl/services/geoservices/startkaart?",
{layers: 'startkaart', 'format':'image/png', 'transparent':'TRUE'},
{'numZoomLevels': 12, 'ratio':1, isBaseLayer: true} );
Also check you have image/png mapped as a mimetype for PNG24 in your
Mapserver MAP file (OUTPUTFORMAT section).
Best regards,
Bart
--
Bart van den Eijnden
OSGIS, Open Source GIS
http://www.osgis.nl
--------- Oorspronkelijk bericht --------
Van: Bradley Mclain <[EMAIL PROTECTED]>
Naar: OpenLayers ML <[email protected]>
Onderwerp: [OpenLayers-Dev] Poor Image Quality
Datum: 10/07/07 05:07
> I am importing an image as an untiled Mapserver layer into OpenLayers and
it is of extremely good quality but when it shows up in OpenLayers it's
quality is terrible.The image when viewed through Mapserver is not as good
as the original but it still much better than what it is showing up as in
OpenLayers. I have my Mapserver image format as PNG24.
> Any ideas on what might be causing this and how to fix it?CheersBrad
>
>
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/dev
>
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev