Ok -1 is good for me work good
If alphachannel = true => this changes the entire image opacity no good
I looking function paint bucket type (dpaint ou ppaint)
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: I looking function paint bucket type (dpaint ou ppaint)
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 ?
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 ?
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
- airsoftsoftwair
- Posts: 5433
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: I looking function paint bucket type (dpaint ou ppaint)
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)
Thank you pixy is very happy !