Search found 52 matches: hdib

Return to advanced search

... : .................... Freeimage.DLL only for 32 bit app ??? CLASS TImage FROM TBitmap DATA nProgress DATA hBitmap (<----- New string DATA hDib (<---- New string DATA hPalette (<----- New String CLASSDATA lRegistered AS LOGICAL METHOD New( nTop, nLeft, nWidth, nHeight, cResName, cBmpFile, ...
by Softlog86
Thu Dec 11, 2008 10:15 am
 
Forum: FiveWin for CA-Clipper
Topic: Error TIMAGE:_HDIB
Replies: 11
Views: 4997

Hello , Friends !

I'm insert string : DATA hDib into file IMAGE.PRG ..... complile by CLIPPER 5.3 .... Linking ..... but have error :

No Exp Method TIMAGE:HBITMAP .....

Please give me good IMAGE.PRG file !!!
by Softlog86
Wed Dec 10, 2008 2:40 pm
 
Forum: FiveWin for CA-Clipper
Topic: Error TIMAGE:_HDIB
Replies: 11
Views: 4997

The function dibWrite( cBmpFile, hDib ) saves the dib handle into a file

Some like this to save into a variable?
by JC
Wed Dec 03, 2008 2:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: wndBitmap( oDlg:hWnd ) to variable?
Replies: 9
Views: 2221

Dutch,

Please check that your Class TImage (or TBitmap) has a DATA hDib.

Also notice that in more recent FW builds, such DATA was removed.
by Antonio Linares
Sun Oct 12, 2008 8:43 am
 
Forum: FiveWin for CA-Clipper
Topic: Error TIMAGE:_HDIB
Replies: 11
Views: 4997

Error TIMAGE:_HDIB

Dear Antonio, I found this error in one my client's network W2003R2. I didn't found this error before and in other computer or network have no problem. I've found in Basil forum but I cannot read Spanish. I use Clipper 5.2e/FW2.5/Blinker 7.0 Error description: Error Objects/6 No Exp. Method&...
by dutch
Sun Oct 12, 2008 3:32 am
 
Forum: FiveWin for CA-Clipper
Topic: Error TIMAGE:_HDIB
Replies: 11
Views: 4997

Domenico, Parece que en la clase TImage que estás usando te falta la DATA hDib La clase TImage de FWH no tiene esa DATA ni la usa, pero parece que la clase que tu estás usando si la intenta usar: Called from: => HBOBJECT:MSGNOTFOUND(0) Called from: => TIMAGE:_HDIB(169) ...
by Antonio Linares
Fri Sep 05, 2008 8:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Estimados senores freeimage.dll error en reporte
Replies: 3
Views: 837

Estimados senores freeimage.dll error en reporte

Estimados Senores: Tengo un error extrano en el uso de la Timage con preview En dias pasados publique un post con un error que tenia cuando intentaba usar una imagen en un preview con TImage: prg: oprn:say((row+2)*cantlines,1,"3Abajo?izq",ofn1) oprn:say((row+3)*cantlines,1,"4Abajo?izq",ofn1) oprn:sa...
by DiGregorio
Fri Sep 05, 2008 2:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Estimados senores freeimage.dll error en reporte
Replies: 3
Views: 837

error al colocar un image en un reporte (extrano)

Estimados: Trabajaba de lo mejor y de repente me arroja un error en la ejecucion, simplemente es una imagen en un reporte. Parte del codigo: // encabezado del Reporte oprn:say(row,1,"1Arriba?Izq",ofn1) oprn:say((row+0)*cantlines,1,"2Arriba?Izq",ofn1) oprn:say((row+1)*cantlines,1,"3Abajo?izq",ofn1) r...
by DiGregorio
Wed Sep 03, 2008 10:25 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error al colocar un image en un reporte (extrano)
Replies: 1
Views: 503

SCREEN CAPTURE and ClipBoard

... this example : #DEFINE CF_BITMAP 2 oClipBoard := TClipBoard():New( CF_BITMAP ) oClipBoard:Open() hBmp := oClipBoard:GetData() oClipBoard:Close() hDib := DibFromBitmap( hBmp ) If Empty( hDib ) MsgInfo("I can't create Bitmap","I'm Sorry") RETURN EndIf DibWrite( cBmpFile, hDib ) GlobalFree( hDib ...
by Antonio Linares
Wed Aug 27, 2008 7:39 am
 
Forum: Utilities / Utilidades
Topic: Boris Pekic - NG's archive
Replies: 27
Views: 94020

Re: Scanner automation

... * * CLASS TSCAN32 * 2003(c)- by Rafa Carmona ( TheFull ) * Beta 1.0 * Beta 2.0 New. Support Get ClipBoard to hDib. * New. ClipboardToFile( cFile ) -> Save File Jpg into Clipboard. * * Beta 3.0 New. ReWrite Method End, conflict GPF's ;) * * Beta 4.0 Return ...
by Marco Turco
Sat Jun 07, 2008 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scanner automation
Replies: 7
Views: 4199

Hi,

if you start with a blank bmp, and draw on these, you can save this modification in other bmp file, try this

hBmp := WndBitmap( obmp:hWnd )
hDib := DibFromBitmap( hBmp )
DibWrite( "bak.bmp", hDib )

I don't know if it's what do you want

saludos

Marcelo
by Marcelo Via Giglio
Tue Nov 20, 2007 1:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Creating a bmp from a draw...
Replies: 4
Views: 718

It work now. *Conversion problem BMP to JPG*

... work with 16bits but I don't work with 32bits. I don't know while. Thanks for any help, Dutch FUNCTION SaveImage( cFile ) LOCAL nFormat, hDib, hInfoH, hInfo, hBits, hWnd, hDC, hBmp, lOk #ifdef __CLIPPER__ hLib = LOADLIB32( "freeimage.dll" ) #else hLib = LOADLIBRARY( ...
by dutch
Mon Sep 03, 2007 7:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: It work now. *Conversion problem BMP to JPG*
Replies: 0
Views: 477

... oGra:Save2Bmp(cFile) y me va bien, adjunto el metodo de como lo uso METHOD Save2Bmp( cFile ) CLASS TGraph LOCAL hBmp, hDib, cDir := "\"+CurDir() DEFAULT cFile := "TGraph.Bmp" IF !lIsDir("\"+CurDir()+"\Graficas") lMkDir("\"+CurDir()+"\Graficas") ENDIF lChDir("\"+CurDir()+"\Graficas") ...
by Francisco Horta
Thu Jul 05, 2007 5:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TGraph 2.0 de Alfredo Arteaga
Replies: 16
Views: 6033

hDib := DibFromBitmap( hBmp )

DibWrite( "dibujo.bmp", hDib )

GlobalFree( hDib )
by Paco Garcia
Fri Jan 19, 2007 8:40 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Pintar un pixel sobre un Bmp
Replies: 10
Views: 2871

... to save the window in a BMP with SaveToBmp but in FWPPC don't exist I try DEFAULT cFile := CurDir() + "\Test.Bmp" hBmp := WndBitmap( oWnd:hWnd ) hDib := DibFromBitmap( hBmp ) DibWrite( cFile, hDib ) GloBalFree( hDib ) DeleteObject( hBmp ) But I have "error 6" Any Idea Regards MAurizio
by Maurizio
Tue Sep 05, 2006 8:04 am
 
Forum: FiveWin for Pocket PC
Topic: Signatures
Replies: 11
Views: 3068
PreviousNext

Return to advanced search