Selecting by color

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
tnaylor38]
Posts: 2
Joined: Sat Feb 08, 2014 11:07 pm
operating_system: Windows 7 Home Premium
System_Drive: C

Selecting by color

Post by tnaylor38] »

Here is what I would like to do. I want to select a specific color range with some tolerance. I then want to delete that color from the image and paste it into a new image. By doing this iteratively, I want to end up with nothing left in the original image and one new image for each color range that I have selected. I know that I can select a color and then go to Selection>Modify>Select Color Range, but it isn't working the way that I want it to work. Anyone have any ideas?
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: Selecting by color

Post by LeviFiction »

Color Range requires a selection to either add a color range to or subtract a color range from.

To use Color Range the way you're suggesting would require you do it like so.

1) Ctrl + A to select everything

2) Selection -> Modify -> Select Color Range

3) Select a certain color, and tolerance. Removing the color from the current selection.

4) Invert the selection so only the color you wanted is selected.

5) Cut and paste as new image or new layer if image already exists.

6) Repeat from step 1

Since you're cutting the color out you could also just invert the selection again and remove the next color range without reselecting everything.
https://levifiction.wordpress.com/
tnaylor38]
Posts: 2
Joined: Sat Feb 08, 2014 11:07 pm
operating_system: Windows 7 Home Premium
System_Drive: C

Re: Selecting by color

Post by tnaylor38] »

Thanks much for that information. It is pretty much what I had already figured out except that your way is much more efficient than the way that I am doing now. I'm going to try your way right now, but I can see that it is better. Thanks again.
User avatar
hartpaul
Advisor
Posts: 2893
Joined: Tue Mar 20, 2012 3:38 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: ASUSTeK P7P55D STRIX B240F GAMING
processor: IntelCore i7 7700 3.60 Ghz
ram: 8 Gb
Video Card: Nvidia GeForce GTX 1050
sound_card: Nvidia High Definition Audio
Hard_Drive_Capacity: 1000 Gb
Monitor/Display Make & Model: AOC
Corel programs: PSP8,X2 to X9,2018,2019,2020
Location: Australia

Re: Selecting by color

Post by hartpaul »

You can also use the selection tool to select a small rectangular part of the image, then Selections Modify > Select Colour range, move cursor over the image and it becomes an eyedropper and then select which colour you want and radio button Add color range.
Then Edit > Cut and then Paste as new image and repeat with other parts.

Note if you are thinking of modifying and then reunitin the parts of the image there may be some problems in allignment as when you paste as new image it also crops that selection so that only the parts selected are pasted. You will not be able to automatically copy and paste as new layer and have all the parts in exactly the right positions.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
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: Selecting by color

Post by LeviFiction »

Oooh, good point. I had forgotten about alignment issues.

My recommendation then would be either promote the selection to its own layer, or use mask layers.

Using Promote selection to layer you can create a new layer with the selected pixels in place. Then just hide the layer and continue to do the same with the other color ranges.

------

Using masks takes more work but has its own advantages such as being able to add layers underneath the mask for blending and effect purposes without having to be concerned with reselecting and deleting items to make them fit.

Create a copy of your image layer for every color range.

Once you have your color range selected. Select an unused layer, then make a new mask showing the selection. This removes the alignment issue.

You can then duplicate the image, and merge the individual mask groups. The mask groups will keep everything in place as they merge down into a single layer.
https://levifiction.wordpress.com/
Post Reply