Search found 53 matches: lbmptransparent

Searched query: lbmptransparent

by Antonio Linares
Fri Jan 17, 2025 11:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 5198

Re: Using new Class TDeepSeek for documenting

... the bitmap.

5. **`hAlphaLevel`**
- **Type:** Numeric
- **Description:** Stores the current alpha level (transparency) of the bitmap.

6. **`lBmpTransparent`**
- **Type:** Logical
- **Description:** Indicates whether the bitmap should be drawn with transparency. Default is `.T.` (true).

7 ...
by Antonio Linares
Fri Jan 17, 2025 10:48 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 5198

Re: Using new Class TDeepSeek for documenting

... rounded corners. |
| `nRound` | Numeric | Radius for rounded corners. |
| `lEllipse` | Logical | Indicates if the button is elliptical. |
| `lBmpTransparent` | Logical | Indicates if the bitmap is transparent. |
| `oFontBold` | Object | Bold font object for the button text. |
| `oPopup` | Object ...
by MGA
Mon Sep 05, 2022 8:40 pm
Forum: FiveWin para Harbour/xHarbour
Topic: BMP en xBrowse. Transparente?
Replies: 2
Views: 461

Re: BMP en xBrowse. Transparente?

:addResource( 'FLAG' )
:bBmpData := {|| IIf( Empty( oData:produtocontado ), 0, 1 ) }
:lBmpStretch := .f.
:lBmpTransparent := .t.
:nDataBmpAlign := AL_CENTER
:nHeadStrAlign := AL_CENTER
:cHeader := 'Contado'
:nWidth := 50
:bStrData := {|| nil }
:cSortOrder := Nil
by Ramón J.
Thu Nov 26, 2020 9:29 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Imágenes en Xbrowse [SOLUCIONADO]
Replies: 3
Views: 807

Imágenes en Xbrowse [SOLUCIONADO]

... oBrw:nRowDividerStyle := LINESTYLE_LIGHTGRAY
oBrw:nMarqueeStyle := MARQSTYLE_HIGHLROWMS
oBrw:aCols[2]:nEditType := TYPE_IMAGE
oBrw:aCols[2]:lBmpTransparent := .T.

oBrw:aCols[ 2 ]:addbmpfile("BITMAPS\yes.bmp" ) // from Disk
oBrw:aCols[ 2 ]:addbmpfile("BITMAPS\no.bmp" ) // from Disk
oBrw:aCols[ 2 ...
by MOISES
Sun Apr 26, 2020 5:54 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta XIMAGE
Replies: 7
Views: 1112

Re: Consulta XIMAGE

... sin necesidad de editar el archivo.

Investigando el conjunto de imágenes problemáticas, el problema es que la clase tiene la data ::lBmpTransparent como .t., y esa es la razón del pintado incorrecto.

Colocándola a .f. se pintan sin problema.

Probablemente la data tenga que tener por ...
by concentra
Mon Dec 30, 2019 5:46 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Como mejorar la calidad de las imágenes
Replies: 15
Views: 3228

Re: Como mejorar la calidad de las imágenes

nageswaragunupudi wrote:Add this setting
In the case of 2 color bitmaps (eg. black and white) we need to set lBmpTransparent to .F.


lBmpTransparent shouldn't be .F. by default ?

[[]]
Maurício Faria
by concentra
Mon Dec 30, 2019 5:37 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Como mejorar la calidad de las imágenes
Replies: 15
Views: 3228

Re: Como mejorar la calidad de las imágenes

Add this setting
oImage:lBmpTransparent := .f.
In the case of 2 color bitmaps (eg. black and white) we need to set lBmpTransparent to .F.

Hi, thanks.
Better !

But still not as good as other apps, and worst in the bottom of the image:

http://www.farmacia.net.br/PDP/PoorXImage2 ...
by nageswaragunupudi
Mon Dec 30, 2019 2:02 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Como mejorar la calidad de las imágenes
Replies: 15
Views: 3228

Re: Como mejorar la calidad de las imágenes

Add this setting
  oImage:lBmpTransparent := .f. 
In the case of 2 color bitmaps (eg. black and white) we need to set lBmpTransparent to .F.

Suggested code:
function TestXImage2Clr()   local oWnd, oImage   DEFINE WINDOW oWnd   @ 10,10 XIMAGE oImage ...
by ukoenig
Fri Nov 15, 2019 4:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Missing images in xBrowse
Replies: 12
Views: 2479

Re: Missing images in xBrowse

... 46;com/IMAGES/Grdpaint17.jpg

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 this ...
by nageswaragunupudi
Thu Nov 14, 2019 9:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: Missing images in xBrowse
Replies: 12
Views: 2479

Re: Missing images in xBrowse

You may get this problem in case of bitmaps with only 2 colors.

Please try
oCol:lBmpTransparent := .F.
by ukoenig
Thu Nov 07, 2019 3:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Missing images in xBrowse
Replies: 12
Views: 2479

Missing images in xBrowse

... c_path2 + "Img64_" + ALLTRIM(STR(nCount[1])) + ".bmp" )

in xBrowse

WITH OBJECT:aCols[ 1 ]
:cDataType := 'F'
:nDataBmpAlign := AL_CENTER
:lBmpTransparent := .f.
//:lBmpTransparent := .t.
END

some of the created Bmp's

http://www.pflegeplus.com/IMAGES/Img48_2.bmp

http&#58 ...
by nageswaragunupudi
Sat Jul 20, 2019 1:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Show and scroll with Meta-file
Replies: 12
Views: 1374

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 is not relevant for EMF files ...
by ukoenig
Sat Jul 20, 2019 8:50 am
Forum: FiveWin for Harbour/xHarbour
Topic: Show and scroll with Meta-file
Replies: 12
Views: 1374

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 upper ...
by ukoenig
Thu Apr 04, 2019 11:09 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : Problem with Image RESOLVED
Replies: 2
Views: 627

Re: Xbrowse : Problem with Image

Silvio,

WITH OBJECT oApp():oGrid
:nRowHeight := 200
END

WITH OBJECT oApp():oGrid:aCols[ 1]
:cDataType := 'F'
:nWidth := 40
:nDataBmpAlign := AL_CENTER
:lBmpTransparent := .T.
END

regards
Uwe :D
by Silvio.Falconi
Thu Apr 04, 2019 10:52 am
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse : Problem with Image RESOLVED
Replies: 2
Views: 627

Xbrowse : Problem with Image RESOLVED

... OBJECT oApp():oGrid
:nRowHeight := 200

WITH OBJECT oApp():oGrid:aCols[ 1]
:cDataType := 'F'
:nWidth := 40
:nDataBmpAlign := AL_CENTER
:lBmpTransparent := .T.

END


But It show a small image

https://i.postimg.cc/qMgGt9qC/ser.jpg


why ?

the original images are all Png ...