Search found 82 matches: loadimage

Searched query: loadimage

by Antonio Linares
Fri Jan 17, 2025 10:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4829

Re: Using new Class TDeepSeek for documenting

... Method** | **Description** |
|------------------------|---------------------------------------------------------------------------------|
| `LoadImage()` | Loads a bitmap from a resource or file. |
| `ReLoad()` | Reloads the bitmap from a resource or file. |
| `LoadFromClipboard()` | Loads a ...
by Natter
Sun Sep 01, 2024 8:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: Uploading an image from the site
Replies: 2
Views: 705

Uploading an image from the site

There is a TBitmap control. I upload an oBt image to oBt:LoadImage(, "C:\MyFolder\file.png").
Is it possible to do the same thing but from the site ?
by cmsoft
Fri Sep 15, 2023 12:20 pm
Forum: FiveWin para Harbour/xHarbour
Topic: SOLUCIONADO Alternar fondo de pantalla BMP segun valor
Replies: 4
Views: 413

Re: Alternar fondo de pantalla BMP segun valor obtenido.

... que contexto lo haces? Hay un valor que cambia en el transcurso del programa y queres actualizar la imagen?
Prueba recargando la imagen con oBmp:LoadImage("bmp2.bmp")

#include "FiveWin.ch"

function Main()

local n := 1, oBmp, oBtn, oDlg
DEFINE WINDOW oDlg TITLE "Cambiar imagen"
@ 2, 2 BTNBMP ...
by Jimmy
Tue Feb 14, 2023 10:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: use Icon from Windows DLL Resource
Replies: 7
Views: 636

Re: use Icon from Windows DLL Resource

... 0 )
ENDIF

IF ValType(nWidth) != "N"
nWidth := 32
ENDIF
IF ValType(nHeight) != "N"
nHeight := 32
ENDIF

::Handle := @user32:LoadImageA( hModule,;
nId ,;
IMAGE_ICON ,;
nWidth ,;
nHeight ,;
LR_DEFAULTCOLOR )
::GetIconInfo()

RETURN (::Handle)
general it use LoadImage() and ...
by rterraz
Sat Sep 25, 2021 2:50 pm
Forum: FiveWin para Harbour/xHarbour
Topic: COMO GRABAR UN RESOURCE EN EL DISCO
Replies: 2
Views: 498

COMO GRABAR UN RESOURCE EN EL DISCO

... getresources(),'wimagex')
FW_Saveimage(hDC,'Imagex.bmp')

El archivo se recupera y se graba bien pero no lo puedo leer con ximage ni con image ( Loadimage() ), es como si se alterara algo en la estructura del mismo
al recuperarlo. Alguien tiene idea de que puede estar pasando y de ser asi como ...
by Silvio.Falconi
Fri Oct 02, 2020 9:04 am
Forum: FiveWin for Harbour/xHarbour
Topic: change xImage on line
Replies: 0
Views: 419

change xImage on line

... DIALOG oTabella CENTERED ;
on INIT Refresh_modificato(aGet,oBmp)


static Function Refresh_modificato(aGet,oBmp)

For n=1 to 1
aGet[n]:bChange:={||(oBmp:SetSource('CLIP_ON') ,oBmp:refresh())}
Next

return nil


Second Problem How I can reload the xmage ? Itried with reload,Setsource,LoadImage
by nageswaragunupudi
Sat Jun 20, 2020 5:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Guardar imagen en el disco con FW_SaveImage
Replies: 11
Views: 2139

Re: Guardar imagen en el disco con FW_SaveImage

... no funciona
FW_SaveImage(oDBF->FOTO,"C:\FOTOS\"+Alltrim(oDBF->NOMBRE)+".PNG" )

He intentado recuperando la imagen con LoadFromMemory, LoadImage, Setbmp

Gracias por la ayuda

Is oDBF an object? TDatabase object? In that case, it should be oDBF:FOTOIf you are directly refering to memo ...
by acuellar
Tue Jun 16, 2020 11:29 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Guardar imagen en el disco con FW_SaveImage
Replies: 11
Views: 2139

Guardar imagen en el disco con FW_SaveImage

... nbsp;FW_SaveImage(oSQL:FOTO,"C:\FOTOS\"+Alltrim(oSQL:NOMBRE)+".PNG" )

Con DBF campo BLOB/PICTURE no funciona
   FW_SaveImage(oDBF->FOTO,"C:\FOTOS\"+Alltrim(oDBF->NOMBRE)+".PNG" )

He intentado recuperando la imagen con LoadFromMemory, LoadImage, Setbmp

Gracias por la ayuda
by rogerio
Thu Jun 13, 2019 8:12 pm
Forum: FiveWin para Harbour/xHarbour
Topic: cargar imagen web en el diálogo
Replies: 2
Views: 505

cargar imagen web en el diálogo

Hola a todos,
utilizo LoadImage () para mostrar la imagen de producto en un diálogo. Con las imágenes almacenadas localmente funciona bien.
Ahora tengo que mostrar imágenes almacenadas en la web, alguien sabe cómo hacer?

Saludos
by Otto
Fri Nov 09, 2018 11:27 pm
Forum: FiveWin for Harbour/xHarbour
Topic: 3 problems with touch.prg from the fwh/samples
Replies: 18
Views: 4307

Re: 3 problems with touch.prg from the fwh/samples

... till MsgInfo is executed.

If we add
oImgBack:bMMoved = { || If( oImgBack:cBmpFile != "..\bitmaps\metro\Metro-Back-48hover.bmp",;
( oImgBack:LoadImage( nil, "..\bitmaps\metro\Metro-Back-48hover.bmp" ), oImgBack:Refresh() ), nil ) }

then oImgBack:bMLeave = { || MsgInfo( 1 ) in no more working ...
by Otto
Sun Oct 28, 2018 5:39 pm
Forum: FiveWin for Harbour/xHarbour
Topic: 3 problems with touch.prg from the fwh/samples
Replies: 18
Views: 4307

Re: 3 problems with touch.prg from the fwh/samples

Dear Antonio
can you please help me with
oImgBack:bMLeave = { || oImgBack:LoadImage( nil, "..\bitmaps\metro\back-black-48.png" ), oImgBack:Refresh(), msginfo(1) }.

I tried your suggestions but oImgBack:bMLeave here is not working.

Thank you in Advance

Otto




@ 20, 20 IMAGE oImgBack FILENAME ...
by nageswaragunupudi
Tue May 29, 2018 5:31 am
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Bug in TBitmap [Fixed]
Replies: 2
Views: 2449

Re: Bug in TBitmap

... 40; ::hBitmap ) .and. ! Empty( ::cBmpFile )      ::LoadBmp( ::cBmpFile )   endif 
keep calling LoadImage() repeatedly.

This is fixed by inserting these lines before present line no. 833 ( FWH18.03)
     if ::hBitmap == 0  &nbsp ...
by nageswaragunupudi
Wed Apr 25, 2018 1:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with upgrade to FWH 2018 - 02
Replies: 13
Views: 3521

Re: Problem with upgrade to FWH 2018 - 02

Please try oBmp:LoadImage( cLogo )
by AntoninoP
Tue Apr 17, 2018 7:35 am
Forum: FiveWin for Harbour/xHarbour
Topic: FW_DrawImage with negative coordinates
Replies: 6
Views: 998

Re: FW_DrawImage with negative coordinates

The problem are not the 4 images, the problem is FW_DrawImage with negative coordinate...
I was thinking to use the new methods 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 ...
by nageswaragunupudi
Sun Nov 05, 2017 1:54 am
Forum: FiveWin for Harbour/xHarbour
Topic: XIMAGE ERROR
Replies: 5
Views: 862

Re: XIMAGE ERROR

... jpg"
..
@ 20, 330 XIMAGE oImageCropped SIZE 80, 80 OF oCattura PIXEL NOBORDER

...
ACTIVATE DIALOG oCattura CENTERED ;
on init oImageCropped:LoadImage( cImgFileCropped )

Local cImgFileCropped:= "default.jpg"..@ 20, 330 XIMAGE oImageCropped SOURCE cImgFileCropped SIZE 80, 80 OF oCattura ...