• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Resample.exe = Image header is corrupt

Messages
78
Country
canada
Hi All,
I'm doing a photo scenery with the same process that worked for me in the past: photo from Google produced by SbuilderX313, image corrected, watermask and blendmask created by Gimp2.8.14, and scenery compiled with resample.exe

Now I get on this project a resample error for the first of the 3 images : source 1 header is corrupt (...) can't compile data source.
The images are : BMP 24bits, about 288 meg in size each.
This is what I tryed:
- Exported images in TIFF from Gimp. This solved a same issue in the past, while the size of the images was not different. In this case, it could compile but didn't showed results in FSX and Annotator.
- Exported images in JPG and also in BMP 16 bits x1.
- Redone the whole process and split the scenery in two smaller sceneries covering the same area.
Nothing worked, same result.

This is bad because I spent much time in creating the watermask for a shore in the scenery and adjusting colors.

This is the .INF file, hoping someone can help!!! Thanks !

[Source]
Type = MultiSource
NumberOfSources = 3

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "."
SourceFile = "Pont-Rouge_v5.BMP"
Variation = January, February, March, April, May, June, July, August, September, October, November, December
Channel_BlendMask = 2.0
Channel_LandWaterMask = 3.0
ulyMap = 46.8414071270059
ulxMap = -71.78466796875
xDim = 2.14576721191406E-05
yDim = 1.47016048423777E-05

[Source2]
Type = BMP
Layer = None
SourceDir = "."
SourceFile = "Blendmask.bmp"
SamplingMethod = Gaussian
ulyMap = 46.8414071270059
ulxMap = -71.78466796875
xDim = 2.14576721191406E-05
yDim = 1.47016048423777E-05

[Source3]
Type = BMP
Layer = None
SourceDir = "."
SourceFile = "Watermask.bmp"
SamplingMethod = Gaussian
ulyMap = 46.8414071270059
ulxMap = -71.78466796875
xDim = 2.14576721191406E-05
yDim = 1.47016048423777E-05


[Destination]
DestDir = "."
DestBaseFileName = "Pontrouge"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 85
 
It is perhaps the color space information. See snapshot of the export parameters for the BMP-file i converted sucessfully today.
resample_error.jpg
 
Wow! It worked ! I replaced seasons by All and exported the images from Gimp cliking Dot not overwrite colors into a BMP 24 bits. Great! Now I got an issue with the Watermask that does not remove water area from the image. I forgot to remove (put black) this water area from the Blendmask. I'm suspecting this is the issue.
Thanks very much Shaun, Dick and JdBerg for the help!
 
Back
Top