Search found 93 matches: loadbmp

Return to advanced search

GetImage with xImage

... + ; "All Files (*.*)| *.*" ; ,"Per favore seleziona un file immagine", 4 ) if ! Empty( gcFile ) .and. File( gcFile ) oImage:LoadBmp( gcFile ) endif the function GetImage(oImage) come from Image class ( freeImag.dll) and not with xImage Any Help ? return nil
by Silvio.Falconi
Sat Feb 18, 2023 6:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetImage with xImage
Replies: 1
Views: 238

Imprimir una imagen sale en mala resolución

Buenas, Estoy intentando imprimir unas credenciales, y al utilizar qimag:LoadBmp( varnum[24] ) me da correctamente en pantalla la imagen. varnum[24] tiene la dirección del archivo .JPEG https://i.ibb.co/2PcMVSq/ade5d74d-1b97-4cdb-badc-621625ba0373.jpg ...
by nlerdafehn
Fri Jun 10, 2022 3:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir una imagen sale en mala resolución
Replies: 2
Views: 379

Problemas con Imagen

... oImage:Refresh() ) ACTIVATE DIALOG oDlg CENTER ON INIT CambiaImagen(cUrlImage, oImage) RETURN NIL STATIC function CambiaImagen(url,oIm) oIm:LoadBmp("D:\Prueba.jpg" ) RETURN .t. Al principio me decía que me hacia falta la dll Fimage.dll, la puse a la par de mi ejecutable, pero no ...
by jponce
Sun Sep 05, 2021 1:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con Imagen
Replies: 2
Views: 478

Re: No puedo imprimir un bitmap con printer

... IF BASE="FOTOS" cz=oprn:nHorzRes()/80 lz=oprn:nVertRes()/60 ENDIF nhz=oprn:nHorzres()-(oprn:nHorzres()/3.0) PAGE if file(fiche1) oImage:LoadBmp( fiche1 ) oPrn:SayImage(ln,13.3*cz, oImage,nHz,) Endif if file(fiche2) oImage:LoadBmp( fiche2 ) oPrn:SayImage(ln,13.3*cz, oImage,nHz,) oprn:Say(59* ...
by pacotre
Fri May 29, 2020 10:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: No puedo imprimir un bitmap con printer
Replies: 5
Views: 1828

Mostrar JPG desde RECURSO con BTNBMP

... |lMOver| If( lMover, (oIMG:SetBmp( "IMAGENJPG"),CLR_HBLUE), CLR_BLACK ) }   He intentado con oIMG:LoadBmp() igual no muestra. Gracias por la ayuda
by acuellar
Thu Apr 16, 2020 6:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mostrar JPG desde RECURSO con BTNBMP
Replies: 3
Views: 460

Need help with xImage

Hi Fivewinners Which are the equivalents of Image:LoadFromMemory and Image:LoadBmp() I Used them with FreeImage.dll, now I want to test xImage to replace these lines        oDbFot:=oSvr:Rowset("select IMAGEN from photos where CODIGO='" + CODIGO ...
by Adolfo
Fri Nov 08, 2019 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need help with xImage
Replies: 6
Views: 1244

Re: QRCODE

... GetSafeURL(hb_strtoutf8( cCode ) ) cUrl += "&size=" + alltrim( str( nWidth ) ) + "x" + alltrim( str( nHeight ) ) cResp := loadBmp(cUrl) if !Empty( cResp ) oGbmp:hbmp := GDIPLUSIMAGELOADPNGFROMSTR( cResp,len(cResp) ) oImage:hBitmap := oGBmp:GetGDIHbitmap() oImage:HasAlpha() ...
by jnavas
Tue Dec 11, 2018 8:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: QRCODE
Replies: 12
Views: 4364

QRCODE

... GetSafeURL(hb_strtoutf8( cCode ) ) cUrl += "&size=" + alltrim( str( nWidth ) ) + "x" + alltrim( str( nHeight ) ) cResp := loadBmp(cUrl) if !Empty( cResp ) oGbmp:hbmp := GDIPLUSIMAGELOADPNGFROMSTR( cResp,len(cResp) ) oImage:hBitmap := oGBmp:GetGDIHbitmap() oImage:HasAlpha() ...
by jnavas
Tue Dec 11, 2018 8:18 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: QRCODE
Replies: 12
Views: 4364

Re: filecopy not run

Silvio,

I'm using path-vars.
Never noticed any problem

c_path := cFilePath(GetModuleFileName( GetInstance() ) ) // Main-path
c_path1 := c_path + "IMAGES\"
c_path2 := c_path + "CAPTURES\"

oImage:LoadBmp( c_path1 + cImage )


regards
Uwe :D
by ukoenig
Sat Sep 08, 2018 8:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: filecopy not run
Replies: 2
Views: 684

Re: Problem with upgrade to FWH 2018 - 02

... However, I have one problem, at times I need to change to the image that was loaded with DEFINE BITMAP oBmp FILENAME cBitmapFile I tried, oBmp:LoadBMP( cLogo ), however system locks up. Can you assist? I provided code below: //------------------------------------- FUNCTION LoadLogo( oBmp, oWnd ...
by cdmmaui
Wed Apr 25, 2018 1:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with upgrade to FWH 2018 - 02
Replies: 13
Views: 3396

New FTDN March/Marzo 2018 (FWH 18.03)

... more than 15 indexes. Thanks to Otto: http://forums.fivetechsupport.com/viewtopic.php?p=211063#p211063 * Fix: Minor bug in Class TBitmap Method LoadBmp(). Now it is ok. * New: function function FW_ReOpenRecordSet( oRs, [oCn], ][cSql], [nLockType], [nCursorType], [nMaxRecords], [nOpt] ) --> ...
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: 1860

Problem with upgrade to FWH 2018 - 02

... oBmp:hPalette ) ); ON INIT ShowLogo( @oBmp, oWnd ) ; MAXIMIZED FUNCTION ShowLogo( oBmp, oWnd ) IF FILE( PA[03] + 'winfrt10.bmp' ) oBmp:LoadBMP( PA[03] + 'winfrt10.bmp' ) ENDIF oWnd:Refresh() SysRefresh() RETURN (.T.) Thank you in advance for your assistance!
by cdmmaui
Sun Apr 15, 2018 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with upgrade to FWH 2018 - 02
Replies: 13
Views: 3396

Re: Minor fix in Class TBitmap Method LoadBmp() in FWH 18.02

... "test"REDEFINE BITMAP oBmp ID 100 OF oDlg FILENAME "..\bitmaps\level2.bmp"REDEFINE BTNBMP oBtn ID 110 OF oDlg ;ACTION oBmp:LoadBmp( "..\bitmaps\level1.bmp" )ACTIVATE DIALOG oDlg CENTEREDreturn nil aida.rc test DIALOG 292, 542, 300, 150STYLE DS_MODALFRAME ...
by Antonio Linares
Wed Mar 28, 2018 9:44 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Minor fix in Class TBitmap Method LoadBmp() in FWH 18.02
Replies: 3
Views: 2086
Next

Return to advanced search