Re: [mapserver-users] opacity and outputformat

2011-05-20 Thread Marc-André Trottier
url = "blablabl/cgi-wms/mapserv?map=patate&randomnumber" + mt_rand() + "&"; layer->set("connection",url) and everything is good 2011/5/19 Marc-André Trottier > i'm using MapScript to create un mapObj. > finally a draw the image with Map->draw(); > > but the OPACITY is not good. Just one OPA

Re: [mapserver-users] opacity and outputformat

2011-05-19 Thread Marc-André Trottier
i'm using MapScript to create un mapObj. finally a draw the image with Map->draw(); but the OPACITY is not good. Just one OPACITY, of my two layers, is set to all image i got this for my Outputformat : OUTPUTFORMAT NAME "aggpng24" MIMETYPE "image/png; mode=24bit" DRIVER "AGG/PNG"

Re: [mapserver-users] opacity and outputformat

2011-05-12 Thread thomas bonfort
Opacity is set as a single integer between 0 and 100 on the layer level. There are no limitations on setting it on multiple layers, but in that case the opacity adds up, so if you have two layers with opacity 50, the final opacity of the image ends up being 75. If your final images end up with no

[mapserver-users] opacity and outputformat

2011-05-09 Thread Marc-André Trottier
hi! how can i get a output with opacity on 2 or more layers. with only 1 layer it's working fine but not with 2 or more. How should be written OPACITY when using IMAGEMODE RGBA ? (ALPHA) i tried something like OPACITY 22,22,22,22 but looks bad in all my tests, all i got was my 2 layers with full