Search found 74 matches: alphablended

Searched query: alphablended

by ukoenig
Mon Apr 26, 2021 2:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: A problem with xImage and JPG
Replies: 7
Views: 1155

A problem with xImage and JPG

A alphablended JPG with xImage how is that possible :?:
The normal formats using transparent are : GIF, PNG, TIF and BMP

Image

the original JPG

Image

regards
Uwe :?:
by ukoenig
Wed Feb 14, 2018 6:46 pm
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 18.01
Replies: 11
Views: 2493

Re: New FWH 18.01

... I noticed some image-problems

http://www.pflegeplus.com/IMAGES/Update1.jpg

the xbrowse-sample doesn't work anymore

missing alphablended

@ 518, 865 BITMAP oLogo[1] FILE c_path1 + "U-Kingdom.bmp" PIXEL NOBORDER OF oDlg
@ 554, 865 BITMAP oLogo[2] FILE c_path1 + "Spain.bmp" PIXEL ...
by ukoenig
Sat Dec 09, 2017 9:02 pm
Forum: FiveWin for Harbour/xHarbour
Topic: A Colorpicker and RGB-tools
Replies: 53
Views: 11102

Re: A Colorpicker and RGB-tools

... 10 colors from a image inside a second dialog and save them to a project.
A colorchart can be any image : a photo, a chart from the internet, alphablended logo ....

usage :
1. activate the colorpicker from the main-dialog.
2. choose the button < colorset >
3. create a new set ( image select ) or ...
by joseluisysturiz
Sat Sep 02, 2017 11:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ROULETTE OF THE FORTUNE - ROTATE ROUND PICTURE
Replies: 21
Views: 6064

Re: ROULETTE OF THE FORTUNE - ROTATE ROUND PICTURE

ukoenig wrote:Converted and repainted to a real alphablended PNG
maybe You like it

http://www.pflegeplus.com/IMAGES/Roulette.png

regards
Uwe :D


Thank you Mr. UWE, I will try the image you converted, this image should be placed on or under a brush, and I will mount a complete image to understand what I want to do, greetings, thanks ...
by ukoenig
Sat Sep 02, 2017 10:08 pm
Forum: FiveWin for Harbour/xHarbour
Topic: ROULETTE OF THE FORTUNE - ROTATE ROUND PICTURE
Replies: 21
Views: 6064

Re: ROULETTE OF THE FORTUNE - ROTATE ROUND PICTURE

Converted and repainted to a real alphablended PNG
maybe You like it

http://www.pflegeplus.com/IMAGES/Roulette.png

regards
Uwe :D
by ukoenig
Tue Jul 19, 2016 11:05 am
Forum: FiveWin for Harbour/xHarbour
Topic: Painting Tab-images from res. RC and DLL TFOLDEREX (solved)
Replies: 19
Views: 6335

Re: A problem TFOLDEREX tab-images from resource ?

... DLL works as well

On Top of MAIN

hSave := GetResources() // linked RC-file
SET RESOURCES TO c_path + "SYSTEM.dll" // DLL with 32 bit alphablended BMP's

...
...
aBitmaps1 := { "BOOKS",; // from DLL
"BOOKS",;
"BOOKS",;
"BOOKS",;
"BOOKS" }

DEFINE DIALOG oDlg1 TITLE "Test folder from ...
by ukoenig
Mon Jul 18, 2016 11:47 am
Forum: FiveWin for Harbour/xHarbour
Topic: Painting Tab-images from res. RC and DLL TFOLDEREX (solved)
Replies: 19
Views: 6335

Painting Tab-images from res. RC and DLL TFOLDEREX (solved)

I noticed,

in TFOLDEREX loading Tab images from RESOURCE ( DLL ) doesn't work
Loading the image from FILE it is Ok.
Using images ( 32 bit alphablended ) from DLL on all other controls like buttons is working fine.

My tests

The FISHES.dll and books.bmp for testing
Download
m

http&#58;//www&#46 ...
by ukoenig
Thu Jul 14, 2016 1:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to load resources from a RC AND DLL the same time ?
Replies: 5
Views: 1207

Re: Possible to load resources from a RC AND DLL the same time ?

... the DLL-solution is a option

here are my first tests using a selected image from the DLL testing on different controls
the image : 32 bit alphablended

started from CODE ( tests resource + DLL will follow )

1. window-test -> Image and button

http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Dll_1 ...
by ukoenig
Thu Jul 14, 2016 8:42 am
Forum: FiveWin for Harbour/xHarbour
Topic: Possible to load resources from a RC AND DLL the same time ?
Replies: 5
Views: 1207

Re: Possible to load resources from a RC AND DLL the same time ?

... know that I want to use the image from the DLL ? )

I'm using Res.-workshop from Borland creating the normal resources and
Resedit to save alphablended BMP's to a DLL

the same problem maybe will be xBrowse with the resource defined with Res.workshop
and showing images from the DLL

RESEDIT ...
by ukoenig
Thu Feb 25, 2016 11:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: setalpha() ??
Replies: 3
Views: 689

Re: setalpha() ??

Romeo ,

a Alphablended Image is needed, in case You want to show a SHADOW
To show a simple background transparent, You can use a normal color
SetAlpha( .F. ) shows the transparent-area of a ALPHAblended image as a BLACK color
I don't know any reason to use it.
But You can use something like :
if ...
by ukoenig
Mon Jan 11, 2016 5:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic: GDIPLUSDRAWIMAGE
Replies: 13
Views: 3234

Re: GDIPLUSDRAWIMAGE

Silvio,

be sure the PNG is ALPHABLENDED - image
Transparent is auto-detected.

tested with sample Gdiplus3.prg

http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Gdiplus1&#46;jpg

function DrawImage(ownd)
local hdc:= oWnd:getdc()
local oGraphics := Graphics():New( ownd:hDC )
local oImage:= GDIBmp ...
by ukoenig
Wed Jan 21, 2015 6:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: btnbmp error on 15.01
Replies: 12
Views: 4026

Re: btnbmp error on 15.01

... else ( tested with new FWH )
Images are adjusted to button-size.
Also tested => oBtn1:lTransparent := .t.
.t. or .f. doesn't make any difference.
I tested with alphablended bitmaps. I will test, using other images.

http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Resize7&#46;jpg

best regards
Uwe
by ukoenig
Sun Jan 04, 2015 1:32 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Uwe we need your help :-)
Replies: 33
Views: 7302

Re: Uwe we need your help :-)

Mr. Rao,

I tested including a alpha-bmp inside the RC-file.
Next I opened the EXE with < RESOURCEBUILDER > that supports Alphablended BMP's
The bmp is included inside the EXE but not displayed.
Book.bmp works fine and is displayed.
Adding the BMP the normal way, loading from file, works as well ...
by ukoenig
Wed Dec 31, 2014 9:00 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Uwe we need your help :-)
Replies: 33
Views: 7302

Re: Uwe we need your help :-)

Please keep in mind, trying to include a alphablended image as resource inside the exe, will blow up the size.
I got a rc-file-size of 900K for only one image 128 x 128

Have a look at the resource of DISABLE.bmp

Trying brc32.exe with Disable.bmp ( alphachannel 32 bbp )

http&#58;//www&#46 ...
by ukoenig
Mon Dec 29, 2014 11:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: New Rating Class
Replies: 60
Views: 22412

Re: New Rating Class

... star.
Clicking on the star- LEFT side, paints a HALF star.
Cicking on the star- RIGHT side, paints a LEFT and RIGHT star ( shows FULL )

The alphablended images ( 128 x 128 ) :

http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Empty_L&#46;bmp

http&#58;//www&#46;pflegeplus&#46;com/IMAGES/Empty_R ...