Search found 255 matches: oimage

Return to advanced search

Re: Missing images in xBrowse

... the test bbb.bmp It looks like there is a border around that makes it transparent :?: I added -> oImage:lBmpTransparent := .F. but no difference http://www.pflegeplus.com/IMAGES/bbb.bmp Funny and hard to understand as a test I reloaded ...
by ukoenig
Fri Nov 15, 2019 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Missing images in xBrowse
Replies: 12
Views: 2017

Re: IMAGE Control does NOT display .PNG resource

Size and pixel is not needed

I just tested a Bmp-resource without any problem
I will check PNG as well

@ 10, 10 IMAGE oImage RESOURCE "Exit" OF oWnd NOBORDER // Exit = bmp-resource

regards
Uwe :D
by ukoenig
Sat Oct 26, 2019 7:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IMAGE Control does NOT display .PNG resource
Replies: 10
Views: 1405

Re: IMAGE Control does NOT display .PNG resource

Maybe the missing size :?:

@ 10, 10 IMAGE oImg RESOURCE "save" PIXEL OF oDlg NOBORDER


@ 10, 10 IMAGE oImage SIZE 50, 50 RESOURCE "save" OF oDlg NOBORDER

best regards
Uwe :D
by ukoenig
Sat Oct 26, 2019 6:16 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: IMAGE Control does NOT display .PNG resource
Replies: 10
Views: 1405

Re: Drawing on a TImage and save [Solved]

Carlos,

I added < oImage:bLDblClick > to activate and deactivate the linepainting
because right mouseclick and click are predefined
for menue and movement.

regards
Uwe :D
by ukoenig
Sun Sep 22, 2019 4:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing on a TImage and save [Solved]
Replies: 68
Views: 12134

Re: Drawing on a TImage and save [Solved]

... !!! I would like to change the image-border at runtime. From class TBitmap I use :nStyle , because there is no method in class TImage like oImage:lBorder := .F. @ 55, 430 COMBOBOX oCbx1 VAR cImgBorder  ITEMS { "Border", "NO border" } ;SIZE 50, 50 OF oSDlg  PIXEL ...
by csincuir
Fri Sep 20, 2019 11:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Drawing on a TImage and save [Solved]
Replies: 68
Views: 12134

Re: A METRO image-background without FREEIMAGE ?

... cImage, , .t. ) oMetro:DrawImage( aImage, aRect, nil, 1 ) a working solution // metro image-background ( FREEIMAGE needed ) DEFINE IMAGE oImage FILENAME cImage oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside ...
by nageswaragunupudi
Mon Sep 09, 2019 4:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: A METRO image-background without FREEIMAGE ?
Replies: 5
Views: 979

A METRO image-background without FREEIMAGE ?

... cImage, , .t. ) oMetro:DrawImage( aImage, aRect, nil, 1 ) a working solution // metro image-background ( FREEIMAGE needed ) DEFINE IMAGE oImage FILENAME cImage oBrush := TBrush():new( ,,,, ResizeBmp( oImage:hBitmap, aRect[4], aRect[3], .T. ) ) // 1 = stretch, 2 : fitoutside, 3:fitinside ...
by ukoenig
Sat Sep 07, 2019 3:32 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A METRO image-background without FREEIMAGE ?
Replies: 5
Views: 979

Re: Imprimir pdf sin intervención del usuario

... que enlazar las librerias hbhpdf.lib y libhpdf.lib #include "FiveWin.ch" #include "harupdf.ch" Function Main() Local oPdf,Page,oImage,oFont,Font1,Font2,Font3 oPdf:=HPDF_New() HPDF_SetCompressionMode( oPdf, HPDF_COMP_ALL ) **HPDF_SetPassword( oPdf, 'jaime', 'alberto' ) page:=HPDF_AddPage(oPdf) ...
by jacgsoft
Wed Jul 31, 2019 9:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir pdf sin intervención del usuario
Replies: 9
Views: 2293

Re: Show and scroll with Meta-file

Using non transparent images like Your drawing maybe You need @ 20,20 XIMAGE oImage SOURCE cFile SIZE -20,-20 OF oDlg oImage:lBmpTransparent := .F. otherwise it could show something like ( format JPG ) is showing transparent areas on the left upper corner This ...
by nageswaragunupudi
Sat Jul 20, 2019 1:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show and scroll with Meta-file
Replies: 12
Views: 1031

Re: Show and scroll with Meta-file

Marc, by default :lBmpTransparent := .T. Using non transparent images like Your drawing maybe You need @ 20,20 XIMAGE oImage SOURCE cFile SIZE -20,-20 OF oDlg oImage:lBmpTransparent := .F. otherwise it could show something like ( format JPG ) is showing transparent areas on the left ...
by ukoenig
Sat Jul 20, 2019 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Show and scroll with Meta-file
Replies: 12
Views: 1031

Re: Insert a photo

Please set oImage:lCanPaste := .t.  if you want the user to paste images into the XImage control. Then the user can 1. Copy an image from any source 2. Select the ximage by clicking on it 3) (a) Press Ctrl-V OR (b) Right-click ...
by nageswaragunupudi
Wed Jun 12, 2019 2:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Insert a photo
Replies: 12
Views: 1941

Re: How to use GDIPLUS -> NewGradientBrush ?

... Graphics():New( oWnd:hDC ) oPath:AddRoundRect( aRect[2] + 700, aRect[1] + 150, ; // must be defined < Left / Top > :?: normally Top / Left oImage:GetWidth() * 0.5, oImage:GetHeight() * 0.5, 50 ) // resized to 50 % oGraphics:FillPath( oBrush, oPath) oGraphics:Destroy() regards Uwe
by ukoenig
Tue Apr 09, 2019 9:22 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use GDIPLUS -> NewGradientBrush ?
Replies: 11
Views: 1904

Re: Error with Tdatarow - only for test

ok resolved local cFile :="" local cDefaImage:="noImage.png" Local cImage:= oRec:Image Local oImage local cImgPath:=".\images\" @ 68, 10 SAY "Immagine:" OF oDlg SIZE 31, 8 PIXEL FONT oFont @ 66, 46 GET oRec:Image ...
by Silvio.Falconi
Fri Feb 01, 2019 11:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error with Tdatarow - only for test - RESOLVED
Replies: 6
Views: 691

Re: Error with Tdatarow - only for test

trying with

@ 78,150 XIMAGE oImage var cImage SOURCE IF(empty(oRec:Image),cDefaImage,oRec:Image);
SIZE 50, 50 OF oDlg

run ok
but the when I make oRec:save it save al so the image ?

nooooo!!!
by Silvio.Falconi
Fri Feb 01, 2019 11:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error with Tdatarow - only for test - RESOLVED
Replies: 6
Views: 691

Re: Error with Tdatarow - only for test

https://i.postimg.cc/mgqVffMK/ggggg.png Now I try with Local cImage:= oRec:Image Local oImage @ 58,150 BTNBMP oBtnImage PROMPT "Carica" ; RESOURCE "BTN_PNG_IMAGE" FLAT ; SIZE 42, 14 LEFT PIXEL OF oDlg ; ACTION ( cImage:= GetImage( cFile ...
by Silvio.Falconi
Fri Feb 01, 2019 11:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error with Tdatarow - only for test - RESOLVED
Replies: 6
Views: 691
PreviousNext

Return to advanced search