[MAPSERVER-USERS] Forced using palette and alpha transparency

BrainDrain paulborodaev at gmail.com
Tue Oct 14 17:38:41 EDT 2008


Is it really possible to have transparency enabled using 8 bit palette?
I have polygon layers with transparency 75
I have no problems with agg in 24 bit mode but
when mapserv (or web service with mapscript_csharp swig binding) generate
tiles (I use open layers) I have
'color tone differences' as you can see
  FORMATOPTION "QUANTIZE_FORCE=ON"
  FORMATOPTION "QUANTIZE_DITHER=OFF"
  FORMATOPTION "QUANTIZE_COLORS=256"
http://www.nabble.com/file/p19982742/q256.png 

  FORMATOPTION "PALETTE_FORCE=TRUE"
  FORMATOPTION "PALETTE=c:/ms4w/app/WEMSite/App_Data/maps/palette.txt"
http://www.nabble.com/file/p19982742/palette.png 
problems with both quantization and forcing using palette (115 color in my
case)
I have such troubles with transparency turned off only with quantization as
I wrote in older post
It seems that generating transparent images is not restricted with palette
-- 
View this message in context: http://www.nabble.com/Forced-using-palette-and-alpha-transparency-tp19982742p19982742.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list