MatthiasKNU
Resource contributor
- Messages
- 962
- Country

Hello everybody!
I have a quick question...
Is it possible, to resample an image and a blendmask with a different size?
Short example:
But this does not work for me (even with the different coordinates of the blendmask)...
The result looks like this:
So resample seems to start also with the blendmask in the top left corner...
I have a quick question...
Is it possible, to resample an image and a blendmask with a different size?
Short example:
Code:
[...]
[Source1]
Type = BMP
Layer = Imagery
SourceDir = C:\fset\work
SourceFile = Area_Lp4_SnapOff_N040463254_N040285145_E049105093_E050065768.bmp
Lon = 49.180812835693402 ;for top left and bottom right is: 50.116024017333999
Lat = 40.775713920593297 ;for top left and bottom right is: 40.480928421020501
NumOfCellsPerLine = 16344 ;Pixel is not used in FSX
NumOfLines = 6869 ;Pixel is not used in FSX
CellXdimensionDeg = 5.7220458984375E-05
CellYdimensionDeg = 4.29153442382813E-05
PixelIsPoint = 0
SamplingMethod = Point
Channel_LandWaterMask = 2.0 ;blue channel
Channel_BlendMask = 3.0 ;blue channel
[...]
[Source3]
Type = BMP
Layer = None
SourceDir = C:\fset\work
SourceFile = blendmask.bmp
Lon = 49.521416479848540 ;for top left and bottom right is: 50.116108710073149
Lat = 40.775671934451410 ;for top left and bottom right is: 40.534602140750238
NumOfCellsPerLine = 10393 ;Pixel is not used in FSX
NumOfLines = 4213 ;Pixel is not used in FSX
CellXdimensionDeg = 5.7220458984375E-05
CellYdimensionDeg = 4.29153442382813E-05
PixelIsPoint = 0
SamplingMethod = Point
But this does not work for me (even with the different coordinates of the blendmask)...
The result looks like this:
So resample seems to start also with the blendmask in the top left corner...
