Compile problem
-
- Posts: 8
- Joined: Fri Apr 22, 2016 8:16 pm
Compile problem
Hi everyone !
I'm work on a a photoreal scenery .
I'v modified .bmp on SbuilderX313/Tools/Work
But when I compile this modified .bmp I have a problem !
"BMP header is corrupt."
"Unable to open data source C:/Programm...work/"
Failed to create data source .
I'm work on a a photoreal scenery .
I'v modified .bmp on SbuilderX313/Tools/Work
But when I compile this modified .bmp I have a problem !
"BMP header is corrupt."
"Unable to open data source C:/Programm...work/"
Failed to create data source .
- luisfeliztirado
- Posts: 436
- Joined: Sun May 15, 2005 9:15 am
- Location: Santo Domingo
Re: Compile problem
Perhaps the image editing tool you use is not saving the file correctly or in a modified format. Please provide more details.
Best regards.
Luis
Best regards.
Luis
-
- Posts: 8
- Joined: Fri Apr 22, 2016 8:16 pm
Re: Compile problem
I just use GIMP and "export as image" in a my document and copy the file in my document to Sbuilder Tools/Works . It's a BMP file I just ramplace the original .bmp to the modified .
- luisfeliztirado
- Posts: 436
- Joined: Sun May 15, 2005 9:15 am
- Location: Santo Domingo
Re: Compile problem
If you try to compile with the original image, do you get the same error?
Best regards.
Luis
Best regards.
Luis
-
- Posts: 8
- Joined: Fri Apr 22, 2016 8:16 pm
Re: Compile problem
No I'dont get this error with the original file .
-
- Posts: 8
- Joined: Fri Apr 22, 2016 8:16 pm
Re: Compile problem
But the name of original and modified is the same i just ramplace it by the modified
-
- Posts: 8
- Joined: Fri Apr 22, 2016 8:16 pm
Re: Compile problem
I have the same .txt file for the modified file and original file .
I use the .txt file for the modified file .
I use the .txt file for the modified file .
- luisfeliztirado
- Posts: 436
- Joined: Sun May 15, 2005 9:15 am
- Location: Santo Domingo
Re: Compile problem
Clearly, compilation is not the problem. The GIMP seems to be changing the file in some way.
When exporting an image, aren't there some options available? Please make sure that the bitmap is not being compressed.
Best regards.
Luis
When exporting an image, aren't there some options available? Please make sure that the bitmap is not being compressed.
Best regards.
Luis
-
- Posts: 8
- Joined: Fri Apr 22, 2016 8:16 pm
Re: Compile problem
In the propriety the original file and the modified is the same BUT the original file is 140 Mo and the modified is 105 Mo .
-
- Posts: 8
- Joined: Fri Apr 22, 2016 8:16 pm
Re: Compile problem
The modified file .bmp that doesn't compil at the left and on file .bmp that work good at the right (not modified by gimp).
- luisfeliztirado
- Posts: 436
- Joined: Sun May 15, 2005 9:15 am
- Location: Santo Domingo
Re: Compile problem
I see that your image has 32 bit color. As far as I know, Resample will only accept 24 bit bitmaps, so you may want to check that. Perhaps you are not flattening your image before exporting it.
Perhaps you could try something different if the GIMP modified bitmap does not compile correctly.
Resample will also accept TIFF files as a source. So, you could export your modified image as a TIFF image (make sure it is not RLE compressed) and see if that will compile correctly.
You will probably have to modify the inf file and change the name of your source file, since it will be a tif, not a bmp. Also, you will have to compile manually; just make sure the source image and inf file are in the same folder as Resample, then simply drag and drop the inf file on top of Resample.
Clearly, the GIMP is somehow changing your bitmap. There are not a lot of options when exporting a file as a bitmap, essentially just color depth, but check to see that there is nothing strange there.
Oh, and you might also check to see if you have the latest version of the GIMP and its dependent files.
Best regards.
Luis
Perhaps you could try something different if the GIMP modified bitmap does not compile correctly.
Resample will also accept TIFF files as a source. So, you could export your modified image as a TIFF image (make sure it is not RLE compressed) and see if that will compile correctly.
You will probably have to modify the inf file and change the name of your source file, since it will be a tif, not a bmp. Also, you will have to compile manually; just make sure the source image and inf file are in the same folder as Resample, then simply drag and drop the inf file on top of Resample.
Clearly, the GIMP is somehow changing your bitmap. There are not a lot of options when exporting a file as a bitmap, essentially just color depth, but check to see that there is nothing strange there.
Oh, and you might also check to see if you have the latest version of the GIMP and its dependent files.
Best regards.
Luis
-
- Posts: 8
- Joined: Fri Apr 22, 2016 8:16 pm
Re: Compile problem
Thanks a lot Luis for your help ! I just use Paint and not Gimp and just save file .
Clearly Gimp is the problem probably because Gimp change my file !
I Will send you a picture of my scenery !
Clearly Gimp is the problem probably because Gimp change my file !
I Will send you a picture of my scenery !