Avatar
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Hi,
On sites, often, there is a round avatar of the user. Is it possible to create a similar one to FW ?
On sites, often, there is a round avatar of the user. Is it possible to create a similar one to FW ?
www.FiveTechSoft.com
https://forums.fivetechsupport.com/
https://forums.fivetechsupport.com/viewtopic.php?f=3&t=39876
function RoundImage()
local hBmp, cSave := "olga1.bmp"
hBmp := FW_MakeYourBitmap( 450, 450, <|hDC|
FW_DrawImage( hDC, "c:\fwh\bitmaps\olga1.jpg", { 0,0,450,450 },,"C" ) //,,,"TL" )
return nil
>, .T. )
? nBmpWidth( hBmp ), nBmpHeight( hBmp )
FW_SaveImage( hBmp, "c:\fwh\bitmaps\olga_round.png" )
DeleteObject( hBmp )
ximage( "c:\fwh\bitmaps\olga_round.png" ) // test the result
return nil