Hi,
I tried this and found the problem you were having.
You can either edit the layer color of the alg, or
edit the vector file (example shown below).
 
Note - there are two files to the erv vector format - a .erv file (similar to .ers) which
has registration info etc, and a data file which has info regarding the vectors (e.g. points, lines, clip masks etc).
You need to look in the data file for the color info - i.e. clip_file (not clip_file.erv).
 
map_box("Name =  \"Clip_Mask\\Inside\"\n\n\"Color\" = \"255,255,255\"\n\"Border
Color\" = \"255,255,255\"",0.1435442,0.8898555,0.51986,0.5827981,0,1,0,-1,-1,-1,0,1).
 
Hope this helps.
Cheers
Mike
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Josh Nelson
Sent: Friday, 4 January 2002 7:47 AM
To: [EMAIL PROTECTED]
Subject: Using clipmask

I have been using the clipmask feature to create a white background to fill the space where there is no imagery., when I am writing out *.ers and #.ecw files. However, when I set the colour of the clipmask to white and the clipmask border to white, the newly created image never has a true white background - the colour is always 254 rather than 255. I went into the clipmask folder in ER Mapper and edited the outside.ldd file to set the default colour to 255( it is currently 254) but this does not help. I tried looking at the clipmask vector file in a text editor but I don't see values for the color in the header file.
 
Is there a way to fix this problem?

Reply via email to