Hello
I'm trying to record the bitmaps I have with transparent brackground, some and know how to do that?
I'll use it on the pages and there is a gray appearing in the background.
I'm trying to record the bitmaps I have with transparent brackground, some and know how to do that?
I'll use it on the pages and there is a gray appearing in the background.
/* Â ============================================================================== */
Function BmpTOFile( cNome, xhDC )
/* Â ============================================================================== */
 local hDC, hDIB
 local cFile   := Lower("c:\xampp\htdocs\img\" + cNome + ".bmp")
 local cFileHtml := Lower('/img/'  + cNome + ".bmp")
Â
 if File( cFile ) ; return Lower(cNome) ; Endif
Â
 DEFAULT xhDC := 0
Â
 if xhDC == 0
   hDC    := LoadBitMap( GetResources(), cNome )          Â
 Else
   hDC    := xhDC
 Endif
 if empty( hDC ) ; return Lower(cNome) ; Endif
  Â
 hDIB     := DibFromBitmap( hDC, 255 )
 DibWrite( cFile, hDIB )
Â
return Lower(cNome)Thanks,
Ari
FWH 2501 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br
Ari
FWH 2501 - Harbour 3.2.0 - Embarcadero 7.43 - MySQL
São Paulo - SP - Brasil
www.sisrev.com.br