Search found 420 matches: hbitmap

Return to advanced search

Re: A problem with GDIP_IMAGEFROMFILE()

We recommend using FW_ReadImage( nil, cAnyImageSource, [aSize], [lGDIP] ) --> aImage

Elements of aImage:
{ hBitmap, hPalette, nBmpWidth, nBmpHeight, lAlpha, cName, lResource, cType, nZeroClr }

Destroy with
PalBmpFree( aImage )
by nageswaragunupudi
Sat Feb 29, 2020 12:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with GDIP_IMAGEFROMFILE() [Solved]
Replies: 2
Views: 539

Re: Consulta sobre tamaño de imagen

Code: Select all  Expand view
aImg    := FW_ReadImage( nil, cImage )
nWidth  := aImg[ 3 ]
nHeight := aImg[ 4 ]
PalBmpFree( aImg )
 


If you have already read the image into a bitmap handle (hBitmap)
Code: Select all  Expand view

? nBmpWidth(  hBitmap )
? nBmpHeight( hBitmap )
 
by nageswaragunupudi
Thu Feb 27, 2020 12:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre tamaño de imagen
Replies: 2
Views: 479

Re: New FTDN September/Septiembre 2019 (FWH 19.09)

... ] ; [ <bmpArray:BMPARRAY> ] ; [ <lDesign: DESIGN> ] ; // nClrBar, nClrPane, nClrFill pueden ser color RGB o Alpha, oBrush, // hBitmap, aGradient o cualquier fuente de imagen (file/resource/webaddress) // Opcionales CIRCULR y BMPARRAY o mutuamente excluyentes. Medidor circular ...
by Antonio Linares
Fri Oct 18, 2019 8:38 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2937

New FTDN September/Septiembre 2019 (FWH 19.09)

... ] ; [ <bmpArray:BMPARRAY> ] ; [ <lDesign: DESIGN> ] ; // nClrBar, nClrPane, nClrFill can be RGB or Alpha color, oBrush, // hBitmap, aGradient or any Image source( file/resource/webaddress) // Options CIRCULR and BMPARRAY or mutually exclusve. Circulr Meter without creating ...
by Antonio Linares
Sun Oct 13, 2019 11:14 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN September/Septiembre 2019 (FWH 19.09)
Replies: 1
Views: 2937

Re: A METRO image-background without FREEIMAGE ?

... working solution // metro image-background ( FREEIMAGE needed ) DEFINE IMAGE oImage FILENAME cImage oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside oImage:End() oMetro:SetBrush( oBrush ) RELEASE BRUSH oBrush is it possible ...
by nageswaragunupudi
Mon Sep 09, 2019 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A METRO image-background without FREEIMAGE ?
Replies: 5
Views: 979

A METRO image-background without FREEIMAGE ?

... working solution // metro image-background ( FREEIMAGE needed ) DEFINE IMAGE oImage FILENAME cImage oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside oImage:End() oMetro:SetBrush( oBrush ) RELEASE BRUSH oBrush is it possible ...
by ukoenig
Sat Sep 07, 2019 3:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A METRO image-background without FREEIMAGE ?
Replies: 5
Views: 979

Re: New FTDN March/Marzo 2019 (FWH 19.03)

... dato como código de barras. viewtopic.php?f=3&t=36975 - Mapa de bits de código de barras: Es posible hacer un mapa de bits del tamaño deseado. hBitmap := FW_BarCodeBmp( cText, cType, nWidth, nHeight, [nFlags] ) - Impresión: Método de objeto de impresora: METHOD PrintBarcode( cText, nRow, nCol, ...
by Antonio Linares
Mon Apr 08, 2019 8:49 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2019 (FWH 19.03)
Replies: 2
Views: 2868

New FTDN March/Marzo 2019 (FWH 19.03)

... as barcode. http://forums.fivetechsupport.com/viewtopic.php?f=3&t=36975 - Barcode bitmaps: It is possible to make a bitmap of desired size. hBitmap := FW_BarCodeBmp( cText, cType, nWidth, nHeight, [nFlags] ) - Printing: Printer object method: METHOD PrintBarcode( cText, nRow, nCol, nWidth, ...
by Antonio Linares
Mon Apr 08, 2019 11:20 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2019 (FWH 19.03)
Replies: 2
Views: 2868

Re: QRCODE

... + alltrim( str( nHeight ) ) cResp := loadBmp(cUrl) if !Empty( cResp ) oGbmp:hbmp := GDIPLUSIMAGELOADPNGFROMSTR( cResp,len(cResp) ) oImage:hBitmap := oGBmp:GetGDIHbitmap() oImage:HasAlpha() oImage:Refresh() if msgYesNo( " ¨ quiere grabar el codigo QR a Disco ?") // oGBmp:save(".\qrcode.png" ...
by jnavas
Tue Dec 11, 2018 8:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: QRCODE
Replies: 12
Views: 3841

QRCODE

... + alltrim( str( nHeight ) ) cResp := loadBmp(cUrl) if !Empty( cResp ) oGbmp:hbmp := GDIPLUSIMAGELOADPNGFROMSTR( cResp,len(cResp) ) oImage:hBitmap := oGBmp:GetGDIHbitmap() oImage:HasAlpha() oImage:Refresh() if msgYesNo( " ¨ quiere grabar el codigo QR a Disco ?") oGBmp:save(".\qrcode.png" ...
by jnavas
Tue Dec 11, 2018 8:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: QRCODE
Replies: 12
Views: 3841

Re: Using a Jpg instead of a Bitmap for Opening screen Graphics

... nil  https://imagizer.imageshack.com/v2/xq90/923/fk4eip.png oWnd:DrawImage(...) Param-1: Image file name or Resource name or hBitmap Param-3: Optional. aRect: Rectangle specifying the position of the image. Default centered. Resiging and repositioning is automatically taken ...
by nageswaragunupudi
Mon Nov 19, 2018 3:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Using a Jpg instead of a Bitmap for Opening screen Graphics
Replies: 9
Views: 2730

Re: Insert a photo

hBitmap := oImage:GetHBitmap()
by nageswaragunupudi
Thu Nov 08, 2018 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert a photo
Replies: 12
Views: 1953

Re: FWH 18.03: FW_SaveImage()

FW_TransformBitmap( hBitmap, [aCrop], [nZoom], [nRotate] ) --> modified bitmap Parameters are self explanatory. not so much.. aCrop are {top,left,height,width} or {left,top,right,bottom} or .... what they mean, in the example there ...
by AntoninoP
Tue Apr 24, 2018 2:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 18.03: FW_SaveImage()
Replies: 2
Views: 1020

FWH 18.03: FW_SaveImage()

New functions in FWH 18.03 FW_SaveHBitmap( hBitmap, cBmpFile ) --> lSuccess FW_SaveHIContoIco( hIcon, cIconFile ) --> lSuccess The above two functions are self explanatory. FW_SaveImage( [uSource], [cFile], [lJpgQuality] ) --> lSuccess ...
by nageswaragunupudi
Tue Apr 24, 2018 1:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 18.03: FW_SaveImage()
Replies: 2
Views: 1020

New FTDN March/Marzo 2018 (FWH 18.03)

... ) - GDIPLUSPIXISCOLOR( ptr, nX, nY ) * New: function FW_TextToBitmap( cText, [aoFont], [nClrText], [nClrBack],; [lBorder],[lTransp] ) --> hBitmap fwh\function\imgtxtio.prg * New: function FW_MakeYourBitmap( nWidth, nHeight, bDraw ) --> hBitmap fwh\function\imgtxtio.prg This function ...
by Antonio Linares
Tue Apr 24, 2018 9:25 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN March/Marzo 2018 (FWH 18.03)
Replies: 0
Views: 1708
PreviousNext

Return to advanced search