i think it's where you wear a cool hat and listen to reggae, mun.

-----Original Message-----
From: Pat Macleod [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 8 September 2004 10:48 PM
To: [EMAIL PROTECTED]
Subject: MI-L MI What is "rasterstyle" ?


I have not found any documentation of RasterStyle, but from some simple 
tests in Mapinfo Pro, we have deduced that the settings in the .tab file 
work as follows...

RasterStyle 1 12  ---------------Brightness - % (as shown in the display 
override settings in Mapinfo Pro layer control - 12 %)
RasterStyle 2 68  ---------------Contrast - % (as shown in the display 
override settings in Mapinfo Pro layer control - 69 %)
RasterStyle 3 1   ---------------Translucent - 1=Yes
RasterStyle 8 128 ---------------Translucency - % "not" translucent - see 
calculation below....

Translucency calculation.....

RasterStyle 8 n  =  100 - ((n/255) * 100) = % translucency (as shown in 
the display override settings in Mapinfo Pro layer control)

eg RasterStyle 8 155 = 100 - ((155/255) * 100) =  100 - 61 = 39% 
translucency (as shown in the display override settings in Mapinfo Pro 
layer control)

Pat MacLeod
IT Architect, IBM UK Ltd
Office: 0117 929 5740
Mobile: 07739 875672 or 264974
[EMAIL PROTECTED]

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 13259

Reply via email to