... which can be saved to a file directly wih MEMOWRIT if cType is .T., then the result type is the type of the first image. Is it possible to split hBmp into several parts and save them as separate files ? FW_TransformBitmap( hBmp, aCrop ) --> hCroppedBmp
Yes, your example works well. But files in A1 and A0 format do not want to be saved from my program
I am trying to make an option with the creation of several bitmap files and their subsequent gluing. Is it possible to split hBmp into several parts and save them as separate files ?
... To use this method I need to use hb_base64encode() , but I don't understand how to do it for hBmp:=BmpFromIcon(EXTRACTASSICON( 0, "Name.pdf", @pol)) :(
... Cristobal por sus respuestas Cristobal, para usar las Google Chart debo usar TWebView, correcto ?? No, por qué Lo bueno es que puedes tener el hBmp del gráfico y ponerlo donde quieras ( como ves en el .exe que hago la demo en un xbrowse ), aunque si es en entorno web le sacarás todo el "partido" ...
... I save a screenshot to the clipboard. SendKey(VK_SNAPSHOT) syswait(0.1) OpenClipboard (getdesktopwindow()) hBmp:= GetClpData(2) && CF_BITMAP CloseClipboard()? hBmp..............DeleteObject(hBmp) For some reason, it works ...
... 1. Do we have to save the first image with layover and then do the function with the new image and next layover ? etc.... 2. Or can we use the hBmp and do the conversion in 1 loop (No idea for the source sample ?)
hi, hBmp:=oWnd:ReadImage(xPt)[1] YES thx, now i can load IMAGE into Imagelist :D after > 100 Image it begin to fail ... RAM is going to Limit (32 Bit OS) --- it take a long Time to load about 800 Image from some Kb up 2.5 ...
Cristobal, Aparece este error al correr tu ejemplo: Error description: Error BASE/1004 No exported method: HBMP Args: [ 1] = U Stack Calls =========== Called from: => HBMP( 0 ) Called from: .\source\classes\TGDIPLUS.PRG => GRAPHICS:DRAWIMAGE( 158 ) Called from: c:\fwteam\samples\crist.prg ...