Search found 50 matches: gdibmp

Return to advanced search

Re: Frase se ajuste a un ancho

... 217 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3680 ) Called from: => MSGINFO( 0 ) Called from: .\source\classes\TGDIPLUS.PRG => GDIBMP:NEW( 639 ) Called from: c:\fwteam\samples\crist.prg => TCWND:SETBUTTONS( 72 ) Called from: c:\fwteam\samples\crist.prg => TCWND:NCPAINT( ...
by Antonio Linares
Fri Oct 07, 2022 11:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Frase se ajuste a un ancho
Replies: 22
Views: 2672

Re: How to fill a xBrowse-cell with a real image-BRUSH ?

... that was the reason thinking about ::hBrush = GdiPlusNewTextureBrush( oGdiBmp:hbmp ) :!: like using for the background-images : oImage := GDIBmp():new( c_path + cData ) oGraphics:DrawImage( oImage, nTop + nAdjust, nLeft, nWidth, nHeight ) oImage:End() oGraphics:Destroy() with oGraphics:DrawImage ...
by ukoenig
Thu Jul 15, 2021 1:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to fill a xBrowse-cell with a real image-BRUSH ?
Replies: 4
Views: 676

Re: time schedule system

Dear Otto, You could supply the factor as a parameter: function resizeImage( cSrc, cDst, nValue ) local nQuality := 0 local oImage := GdiBmp():New( cSrc ) local nFactor := oImage:GetWidth() / If( Empty( nValue ), 400, nValue ) local newHeight := oImage:GetHeight( nFactor ) FErase( cDst ) ...
by Antonio Linares
Fri Apr 16, 2021 10:39 am
 
Forum: mod_harbour
Topic: time schedule system
Replies: 5
Views: 700

Re: problema con DrawBitmap() usando tCodeBars

... de 2 clientes con ese problema A ver si alguien nos da una manito ... por el momento recurri a otras funciones para salir del paso (funciones de GDIBmp...) Gracias
by evallejo
Mon Mar 15, 2021 9:15 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problema con DrawBitmap() usando tCodeBars
Replies: 10
Views: 1023

Re: Show an gdi trasparency

... FUNCTION DRAWIMAGE( oWnd ) LOCAL oGraphics1 := Graphics():New( oWnd:hDC ) LOCAL oGraphics2 := Graphics():New( oWnd:hDC ) LOCAL oImage1 := GDIBmp():new( c_path1 + "Logo.png" ) LOCAL oImage2 := GDIBmp():new( c_path1 + "Olga.jpg" ) //nTop := aRect[ 1 ] //nLeft := aRect[ ...
by ukoenig
Thu Oct 17, 2019 2:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show an gdi trasparency
Replies: 5
Views: 693

Show an gdi trasparency

... BITMAP oBmp File "" size 50, 100 pixel // NOBORDER oPen := Pen():New( 255, 0, 0, 255 ) // nTransparency, nRed, nGreen, nBlue oImage1:= GDIBmp():new("sample.png" ) hDC[1]:= oBmp:GetDc() oGraphics[1] := Graphics():New( hDC[1] ) n9:= -73 oGraphics[1]:DrawImage( oImage1 , 1, n9 ...
by Silvio.Falconi
Thu Oct 17, 2019 11:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show an gdi trasparency
Replies: 5
Views: 693

Re: disable/enable button

... http://forums.fivetechsupport.com/viewtopic.php?f=3&t=22737&p=121478&hilit=image+to+gray#p121478 I will have a look at gdiplus : CLASS GDIBmp DATA hBmp ... ... METHOD ConverToGray() INLINE ::hBmp := GdiPlusImageMatrixToGray( ::hBmp ) METHOD SetColorGrayPix( nX, nY ) INLINE GdiPlusImagePixToGrayColor( ...
by ukoenig
Fri Jul 12, 2019 10:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: disable/enable button
Replies: 5
Views: 740

Re: How to use GDIPLUS -> NewGradientBrush ?

... The Bmp-brush is shown as a resized image not tiled Image-test ( I noticed a little problem with top / left ) LOCAL oImage1 := GDIBmp():new( c_path1 + "Blustone.bmp" ) LOCAL oGraphics1 := Graphics():New( oWnd:hDC ) LOCAL oImage2 := GDIBmp():new( c_path1 + "Marble.bmp" ...
by ukoenig
Sun Apr 07, 2019 1:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use GDIPLUS -> NewGradientBrush ?
Replies: 11
Views: 1760

Re: QRCODE

... Function cargaBmp( cCode, oImage ) local cResp local nZeroZeroClr local ogbmp := GdiBmp():new() local nHeight := 248 local nWidth := 248 local cUrl := "http://api.qrserver.com/v1/create-qr-code/?data=" local nQuality:=1 ...
by jnavas
Tue Dec 11, 2018 8:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: QRCODE
Replies: 12
Views: 3745

QRCODE

... Function cargaBmp( cCode, oImage ) local cResp local nZeroZeroClr local ogbmp := GdiBmp():new() local nHeight := 248 local nWidth := 248 local cUrl := "http://api.qrserver.com/v1/create-qr-code/?data=" cUrl += GetSafeURL(hb_strtoutf8( ...
by jnavas
Tue Dec 11, 2018 8:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: QRCODE
Replies: 12
Views: 3745

Re: FW_DrawImage with negative coordinates

... FW_LoadImage and FW_DrawImage in my new control, TImage uses FreeImage, TXImage uses FW_DrawImage The workaround I found is use FW_LoadImage and GDIBmp. Because I need to download from url and draw with negative coordinates.
by AntoninoP
Tue Apr 17, 2018 7:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FW_DrawImage with negative coordinates
Replies: 6
Views: 865

Re: GDIBmp Save() method

Thank you.

EMG
by Enrico Maria Giordano
Tue Mar 27, 2018 2:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GDIBmp Save() method
Replies: 4
Views: 548

Re: GDIBmp Save() method

Saving to ICO is complex. We are working on it along with Mr Manuel.

Saving a raster image as EMF or WMF involves conversion of raster image to vector format and so is obviously not possible. Vector image can be converted to raster image but not vice versa.
by nageswaragunupudi
Tue Mar 27, 2018 2:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GDIBmp Save() method
Replies: 4
Views: 548

Re: GDIBmp Save() method

Ok, thank you.

EMG
by Enrico Maria Giordano
Tue Mar 27, 2018 2:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GDIBmp Save() method
Replies: 4
Views: 548

Re: GDIBmp Save() method

It is not supported by Microsoft directly. save ico files I know that the fwh team is with it.
Regards.
by mastintin
Tue Mar 27, 2018 2:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GDIBmp Save() method
Replies: 4
Views: 548
Next

Return to advanced search