I think I found what happens
We also do not know if the bitmaps created are valid bitmaps.
1. I did a screenshot
ACTIVATE WINDOW oWnd ;
ON RIGHT CLICK oWnd:SaveToBmp( "test.bmp" )2. using
< PIXELFORMER > the problem is visible.
The filemanager is showing the normal bmp.
Loading the file I'm getting a funny result, everything is transparent.
We do not know your xbrowse code.
That is the reason xBrowse doesn't show the created bmp
The same happens using another freeware <
xNView >
Again a different result.
Now the filemanager and editor are showing < Test.bmp > as a transparent image
maybe another solution instead of using :SaveToBmp ?
I tested :
hBmp := FW_MakeYourBitmap( 64, 64, { |hDC,w,h| GradientFill( hDC, 0, 0, h, w, ;
{{ 1, aColors[2] , aColors[4] }} ) } )
FW_SaveImage( hBmp, AllTrim( c_path2 + "Img64_" + ALLTRIM(STR(nCount[1])) + ".bmp" ) ) but the same result created but not visible in xBrowse
3. using a professional program <
COREL Paintshop Pro >.
The filemanager and editor are showing the normal bmp.
There must be something wrong with the file-format
the created
oWnd:SaveToBmp( "test.bmp" )another test
loaded and saved again with a new name without any changes
now it works
regards
Uwe