Search found 28 matches: loadfrommemory

Return to advanced search

Re: Error: FWH2206 Parte1

... from start: 0 hours 0 mins 0 secs    Error occurred at: 12-02-2024, 07:08:05   Error description: Error BASE/1004  Message not found: TXIMAGE:LOADFROMMEMORY   Args:     [   1] = O   TXIMAGEStack Calls===========   Called from:  => __ERRRT_SBASE( 0 )   Called from: ../../../tobject.prg ...
by csincuir
Mon Feb 12, 2024 2:46 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error: FWH2206 Parte1
Replies: 30
Views: 976

Re: Error: FWH2206 Parte1

Karinha,
Como es una imagen ".Png" en la TImage se usa con LoadFromMemory y se me olvido quitarlo cuando probé con la TXImage.
Gracias por el dato, pero igual, sigo teniendo el mensaje de "Format image not supported"

Saludos cordiales.

Carlos.
by csincuir
Mon Feb 12, 2024 2:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error: FWH2206 Parte1
Replies: 30
Views: 976

Bitmap from a variable

Hi, I was counting a recordset from the MariaDB database. From this recordset, I load the bitmap into the TImage control using the method :LoadFromMemory(). Everything works fine. However, the downloaded bitmap looks bad. I don't know what the reason is, but the bitmap downloaded from the file ...
by Natter
Thu Oct 13, 2022 2:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap from a variable
Replies: 4
Views: 293

Re: Guardar imagen en el disco con FW_SaveImage

...    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 ...
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: 1658

Guardar imagen en el disco con FW_SaveImage

...  FW_SaveImage(oDBF->FOTO,"C:\FOTOS\"+Alltrim(oDBF->NOMBRE)+".PNG" ) He intentado recuperando la imagen con LoadFromMemory, LoadImage, Setbmp Gracias por la ayuda
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: 1658

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='" ...
by Adolfo
Fri Nov 08, 2019 8:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Need help with xImage
Replies: 6
Views: 1140

Re: Insert images in Mysql/Mariadb

Hi Marc, When you upload an image file into database you can use directly using Image object through :LoadFromMemory( oQry:Picture ) method of image class if want to save to disk you can use this example oQry is a query from table with flowing columns finename and file blob ...
by nnicanor
Sat May 27, 2017 4:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert images in Mysql/Mariadb
Replies: 6
Views: 1276

Re: Mysql como grabar y cargar una imagen

... de la imagen ejm: c:/ruta/imagen.bmp Para cargar la imagen lo hago asi: REDEFINE IMAGE ::oBmp:Foto ID 155 OF ::odlg ADJUST TRANSPARENT ::oBmp:Foto:LoadFromMemory(::vGet:Foto) en ::vGet:Foto esta la inicializado con la imagen de la BD Mysql ejm: ::vGet:Foto := oTabla:foto Espero sea de su ayuda
by cjcardoza
Sat Sep 26, 2015 5:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Mysql como grabar y cargar una imagen
Replies: 4
Views: 1020

Re: JPGs en recursos

... Image oImg1 ID 81 OF oDlgMain adjust on click fNavegar(_JpgWebPublicidad) if Len( cJpg1 := cResToStr( "JPG_1", RT_RCDATA ) ) != 0 oImg1:LoadFromMemory( cJpg1 ) else msginfo('Error, no se pudo cargar la imagen '+cJpg1) endif funciona simple y al 100%. Si alguno de los foristas puede mejorar ...
by JoseAlvarez
Tue Jun 02, 2015 2:41 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: JPGs en recursos
Replies: 8
Views: 2242

Re: Cargar imagen desde URL

acuellar wrote:Es la del pronóstico del tiempo.

Del post Meteo.prg

Gracias,

Saludos,


Adhemar


no tenemos aún funcionando como se debe el loadFromMemory ( que no es lo mismo que loadFromstring ) :(
by mastintin
Wed May 13, 2015 8:48 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Cargar imagen desde URL
Replies: 8
Views: 664

Re: Rotar Imagen

Estimado Manuel Aprovechando el post. Es posible utilizando Tgdiplus excluir freeimage.dll extrayendo la imágen de un campo BLOB como lo hace LoadFromMemory() para poder mostrarla? Gracias. Saludos, Adhemar No lo he intentado nunca :( . En teoria cambiando LoadFromMemory() por ImagePNGFromStr( ...
by mastintin
Thu May 07, 2015 7:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Rotar Imagen
Replies: 28
Views: 3484

Re: Rotar Imagen

Estimado Manuel

Aprovechando el post.

Es posible utilizando Tgdiplus excluir freeimage.dll extrayendo la imágen de un campo BLOB como lo hace LoadFromMemory() para poder mostrarla?

Gracias.

Saludos,

Adhemar
by acuellar
Wed May 06, 2015 10:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Rotar Imagen
Replies: 28
Views: 3484

Re: Imagenes en Postgress - SOLUCIONADO

Carlos, agregando el FileStr() y el LoadFromMemory, funciona, pero note algo. mi imagen pesa 19.6kb y almacenada ocupa 40k, imagenes grandes no me almacena, pesa 1.94Mb, imagino que debe ser alguna configuracion del mysql para almacenar imagenes ...
by Francisco Horta
Fri Apr 24, 2015 10:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imagenes en Postgress - SOLUCIONADO
Replies: 24
Views: 5948

Re: UNDO the last action on imagepainting ?

Paco, Massimo, I tested, saving the image to a TEMP-file. Now I is working like : 1.) I load the original 2.) I select from the combobox the drawing style. 3.) BEFORE I perform the painting-selection with a left mouseclick on the image, -- I save the draw-status to a TEMP-file 4.) In case I don't li...
by ukoenig
Fri Apr 11, 2014 8:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: UNDO the last action on imagepainting ?
Replies: 3
Views: 767

Re: Grabar, recupera y mostrar imagen jpg en blob de mysql

ya está gracias a todos .
ahora solo falta mostrar directamente desde el campo ya que probé loadfrommemory pero no me la reconoce esta en alguna lib?

saludos
by Miguel Salas
Sun Oct 27, 2013 12:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Grabar, recupera y mostrar imagen jpg en blob de mysql
Replies: 30
Views: 10941
Next

Return to advanced search