Search found 28 matches: loadfrommemory

Searched query: loadfrommemory

by csincuir
Mon Feb 12, 2024 2:46 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error: FWH2206 Parte1
Replies: 30
Views: 5466

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 TXIMAGE

Stack Calls
===========
Called from: => __ERRRT_SBASE( 0 )
Called from: ../../../tobject.prg => TXIMAGE:ERROR( 148 ...
by csincuir
Mon Feb 12, 2024 2:43 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Error: FWH2206 Parte1
Replies: 30
Views: 5466

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 Natter
Thu Oct 13, 2022 2:18 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Bitmap from a variable
Replies: 4
Views: 440

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 looks ...
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: 2198

Re: Guardar imagen en el disco con FW_SaveImage

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

Is oDBF an object? TDatabase object? In that case, it should be oDBF:FOTOIf you are directly ...
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: 2198

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

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 + "'") If oDbFot:RecCount()=1 oImg ...
by nnicanor
Sat May 27, 2017 4:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Insert images in Mysql/Mariadb
Replies: 6
Views: 1566

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 field ...
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: 1186

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 JoseAlvarez
Tue Jun 02, 2015 2:41 am
Forum: FiveWin para Harbour/xHarbour
Topic: JPGs en recursos
Replies: 8
Views: 2638

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 mastintin
Wed May 13, 2015 8:48 am
Forum: FiveWin para Harbour/xHarbour
Topic: Cargar imagen desde URL
Replies: 8
Views: 838

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
Thu May 07, 2015 7:07 am
Forum: FiveWin para Harbour/xHarbour
Topic: Rotar Imagen
Replies: 28
Views: 4570

Re: Rotar Imagen

... 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( cStr ...
by acuellar
Wed May 06, 2015 10:04 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Rotar Imagen
Replies: 28
Views: 4570

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 Francisco Horta
Fri Apr 24, 2015 10:31 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Imagenes en Postgress - SOLUCIONADO
Replies: 24
Views: 7190

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 de ese tamaño.
y puede estar por aqui,
max_allowed ...
by ukoenig
Fri Apr 11, 2014 8:42 pm
Forum: FiveWin for Harbour/xHarbour
Topic: UNDO the last action on imagepainting ?
Replies: 3
Views: 873

Re: UNDO the last action on imagepainting ?

... paintig ( restores TEMP.??? )

http://www.pflegeplus.com/pictures/Undo3.jpg

Maybe I can work with MEMORY-functions :
FI_LoadFromMemory(
FI_CloseMemory(
FI_SaveToMemory(

I'm calling the drawing function with :

STATIC FUNCTION DRAWIMG( oDrawImg, hDC , x, y, lPaint )

best ...
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: 12816

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