flood fill transparent

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
bishnickee
Posts: 1
Joined: Mon May 13, 2013 12:45 pm
operating_system: Windows 7 Professional
System_Drive: C
32bit or 64bit: 64 Bit

flood fill transparent

Post by bishnickee »

I am new to the site so not sure if this has been asked yet.


How do you do a flood fill with a transparent background, I can see how i can flood fill with colors and all that fun stuff, but for the life of me i cant find a selection for transparent.

paintshop pro x5 ultimate


thanks in advance
LeviFiction
Advisor
Posts: 6831
Joined: Thu Oct 02, 2008 1:07 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Alienware M17xR4
processor: Intel Core i7-3630QM CPU - 2_40GH
ram: 6 GB
Video Card: NVIDIA GeForce GTX 660M
sound_card: Sound Blaster Recon3Di
Hard_Drive_Capacity: 500GB
Corel programs: PSP: 8-2023
Location: USA

Re: flood fill transparent

Post by LeviFiction »

You don't flood fill transparent. You erase or delete.

The way PSP handles color, is it does basic alpha blending, not a full replacement, when flooding an image. This means that transparency is added to the current colors and mixed for some excellent results and options. So if you did managed a flood fill with a transparent color (gradient or texture would be the way to go) PSP would simply mix the transparent with the opaque and you'd be left with the exact same thing you already had.

So we use the Delete key as a sort of "flood fill" delete. This will either delete everything inside the layer or whatever you have selected.

If you're trying to replace certain colors there are tools or options you can use to achieve this effect, depending on your method.

1) Magic Wand + Delete

The magic wand tool offers many of the same options for selecting a color as the Flood Fill tool based on where you click. So if you're hoping to do a Flood Fill with a transparent color, as the title of your topic suggests, then you would set the magic wand tool to the same settings as you'd have for the Flood Fill and click in the area you want to select.

Once it's selected just hit the "Delete" key or select "Edit -> Clear" to erase the selected area leaving it transparent.

2) Magic Wand + Eraser Tool - Not useful unless you need it.

The exact same steps as above, except, instead of using the Delete key or Clear command you use the eraser brush. The Eraser will only erase within the selected area and you can vary the transparency by using a softer brush, or by adjusting the opacity of the brush.

3) Background Eraser tool - Not recommended, probably will not give good results. Also more advanced topic.

The background eraser tool usually attempts to constantly sample the image and delete colors that fall within an edge. If you change the Sampling rate to "Once" and turn off Auto Tolerance it'll sample the color the first time you click on the image and attempt to find similar colors that fit that range and delete only them. Keep in mind the targeted color will change each time you click the mouse. You can also set the sampling to the background or foreground colors in the materials palette. If you use that method you'll have to sample a color from the image using the eye-dropper tool then use the background eraser. It'll keep aiming for the exact same color no matter how many times you click.
https://levifiction.wordpress.com/
PeterMatt
Posts: 1
Joined: Wed May 15, 2013 6:54 am
operating_system: Windows 8
System_Drive: C
32bit or 64bit: 64 Bit

Re: flood fill transparent

Post by PeterMatt »

I have tried all the tools to erase but background eraser tool is not working. I didn't find the reason behind not working of it.
Post Reply