I have problem to converte a Png file on Jpg, and then this jpg to Bmp on Windows Seven
I save the images in a ". \ Temp" folder.
After performing the conversion I use the images in a combobox and in Windows Seven IO I see black lines on the images but in reality there are no images saved in a folder ". \ Temp"

you can see on first picture some black line I not Know why ...
to create jpg from Png I made
hBmp := FW_ReadImage( nil, cFile )[ 1 ]
hNew := FW_TransformBitmap( hBmp, NIL, 40)
ext:= aExt[ntipo]
cNewfile:= cFolderTemp+cNewName+ext
FW_SaveImage( hBmp,cNewfile ,90)
then to converte jpg to BMP I made
cFileBmp:= savetobmp(cfileJpg)
Function Savetobmp(cfile)
Local hBmp := FW_ReadImage( nil, cfile )[ 1 ]
FW_SaveImage( hBmp, cfile+".Bmp",90 )
Return cfile
on windows 10 it runs perfectly, on windows Seven How I can resolve ?
I save the images in a ". \ Temp" folder.
After performing the conversion I use the images in a combobox and in Windows Seven IO I see black lines on the images but in reality there are no images saved in a folder ". \ Temp"

you can see on first picture some black line I not Know why ...
to create jpg from Png I made
hBmp := FW_ReadImage( nil, cFile )[ 1 ]
hNew := FW_TransformBitmap( hBmp, NIL, 40)
ext:= aExt[ntipo]
cNewfile:= cFolderTemp+cNewName+ext
FW_SaveImage( hBmp,cNewfile ,90)
then to converte jpg to BMP I made
cFileBmp:= savetobmp(cfileJpg)
Function Savetobmp(cfile)
Local hBmp := FW_ReadImage( nil, cfile )[ 1 ]
FW_SaveImage( hBmp, cfile+".Bmp",90 )
Return cfile
on windows 10 it runs perfectly, on windows Seven How I can resolve ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com


