Hi Folks,
I’ve recorded and used scripts for various repetitive tasks before - one task I cant seem to figure out is how to select all pixels of a specific color on various images I process... Similar to using the magic wand for color with 0 variation selected - by clicking on a pixel of a desired color - contiguous set to off... On any given image i dont know where the color i want will appear - but i do know the specific color... Anyway to automate this selection task with a script ?
Thanks...
Regard,
Scott
Script - select all pixels of specific color ?
Moderator: Kathy_9
-
scottb613
- Posts: 27
- Joined: Wed Mar 01, 2017 3:56 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte
- processor: i7-7700K Kabylake OC 5 Ghz
- ram: 32GB
- Video Card: EVGA GeForce GTX 1070 Ti
- Hard_Drive_Capacity: 2000 GB
- Monitor/Display Make & Model: Dell
- Corel programs: Jasc PSP 9.1 - now PSP x9
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- 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: Script - select all pixels of specific color ?
1) select all
2) selections->modify-> select color range
3) select the color you want and set it to remove that color from the selection
4) accept change
5) invert selection
Or
1) paint the pixel at 0,0 the color you want with a single pixel brush.
2) Then use the magic wand on that pixel, 0 tolerance, non-contiguous.
2) selections->modify-> select color range
3) select the color you want and set it to remove that color from the selection
4) accept change
5) invert selection
Or
1) paint the pixel at 0,0 the color you want with a single pixel brush.
2) Then use the magic wand on that pixel, 0 tolerance, non-contiguous.
https://levifiction.wordpress.com/
-
scottb613
- Posts: 27
- Joined: Wed Mar 01, 2017 3:56 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Gigabyte
- processor: i7-7700K Kabylake OC 5 Ghz
- ram: 32GB
- Video Card: EVGA GeForce GTX 1070 Ti
- Hard_Drive_Capacity: 2000 GB
- Monitor/Display Make & Model: Dell
- Corel programs: Jasc PSP 9.1 - now PSP x9
Re: Script - select all pixels of specific color ?
Hi Levi,
Wow - for years I struggled with issues on my own - then I discovered this forum fairly recently - an answer is six minutes - LOL - could anyone ask for more ? Thanks so much - I’ll give this a shot - enjoy the rest of your weekend...
Regards,
Scott
Wow - for years I struggled with issues on my own - then I discovered this forum fairly recently - an answer is six minutes - LOL - could anyone ask for more ? Thanks so much - I’ll give this a shot - enjoy the rest of your weekend...
Regards,
Scott
-
Jean-Luc
- Advisor
- Posts: 2177
- Joined: Sat Oct 22, 2011 10:50 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUS Computer N751J
- processor: Intel i7_4710 HQ 2_50GHz
- ram: 16GB
- Video Card: NVIDIA GeForce GTX 850M
- sound_card: NVIDIA High Definition Audio
- Hard_Drive_Capacity: 2 Tb
- Monitor/Display Make & Model: NVIDIA GeForce GTX 850M
- Corel programs: PSP X7, X9, 2018 to 2023
- Location: Belgium (French speaking)
- Contact:
Re: Script - select all pixels of specific color ?
See the "Remove any color" script from Suz Shook :
http://suzsplace.com/8scripts/ss-RemoveAnyColor.htm
http://suzsplace.com/8scripts/ss-RemoveAnyColor.htm
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
