Page 3 of 3
Re: I looking function paint bucket type (dpaint ou ppaint)
Posted: Tue Mar 30, 2021 11:49 pm
by sinisrus
Ok -1 is good for me work good
If alphachannel = true => this changes the entire image opacity no good

Re: I looking function paint bucket type (dpaint ou ppaint)
Posted: Thu Apr 01, 2021 9:16 pm
by airsoftsoftwair
sinisrus wrote: ↑Tue Mar 30, 2021 11:49 pm
If alphachannel = true => this changes the entire image opacity no good
Can you provide an
MCVE? The example I posted
here works fine for me. Only the area inside the circle gets an opacity of 128, the rest keeps its opacity of 255.
Re: I looking function paint bucket type (dpaint ou ppaint)
Posted: Sat Apr 03, 2021 12:39 am
by sinisrus
I want to change a color in the image:
https://amitheme.amiga-ng.org/amiga/test.png
with FloodFill(Brush,X$,Y$, -1, #YELLOW) => ok for change color
with FloodFill(Brush,X$,Y$, -1, 128, {AlphaChannel=True}) => no ok for transparency of color
How to change the transparency of a color in the image ?
Re: I looking function paint bucket type (dpaint ou ppaint)
Posted: Sat Apr 03, 2021 6:37 pm
by airsoftsoftwair
sinisrus wrote: ↑Sat Apr 03, 2021 12:39 am
How to change the transparency of a color in the image ?
I'm afraid that's not possible. Currently, alpha channel mode works on alpha channels only. What you want is some combined flood filling of color and alpha channel I guess...
Re: I looking function paint bucket type (dpaint ou ppaint)
Posted: Sun Apr 04, 2021 1:21 am
by sinisrus
yes
Re: I looking function paint bucket type (dpaint ou ppaint)
Posted: Mon Nov 08, 2021 6:42 pm
by airsoftsoftwair
Code: Select all
- New: Added "ColorSource" tag to FloodFill(); if this is set together with the "AlphaChannel" tag, the
area to be filled is determined by the color channels whereas all output will be written to the alpha
channel; this means that the border color passed to FloodFill() must be an RGB color (or #NOCOLOR) and
the fill color must be an alpha value between 0 and 255
Re: I looking function paint bucket type (dpaint ou ppaint)
Posted: Fri Nov 12, 2021 3:23 pm
by sinisrus
Thank you pixy is very happy !
