Changing one colour to another throughout entire image

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
RMS1
Posts: 27
Joined: Sun May 22, 2016 5:04 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 4GB
Corel programs: Paintshop Pro

Changing one colour to another throughout entire image

Post by RMS1 »

Action-s1-017-p023b.jpg
Hello,
This is a follow-up to my posting yesterday, about reducing ageing colouring in an old comic book I scanned in greyscale.
I have taken the advice to scan the images in colour. The ageing process has turned white into various shades of brown, but the artwork and text is in black only.
How do I change all the shades of brown throughout the image to white? Will any black areas with age browning on them, which can't be seen at normal magification, also turn white?
The attached image showing the ageing has been reduced in size for this posting.
Thanks.
Kathy_9
Site Admin
Posts: 2896
Joined: Tue Nov 30, 2010 12:44 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
processor: 8th Generation Intel Core i7 8700 3 20 GHz
ram: 16GB
Video Card: NVIDIA GeForce RTX 2060 [6 GB GDDR6 dedicated]
sound_card: NVIDIA High Definition Audio
Hard_Drive_Capacity: 2TB
Monitor/Display Make & Model: HP EliteDisplay E243m 23.8-inch
Corel programs: PSPX2 ~2023; Painter 2018~23
Location: USA
Contact:

Re: Changing one colour to another throughout entire image

Post by Kathy_9 »

With PSP there is usually more than one way to do something. One quick way is to use White Balance.
click for larger view
click for larger view
PSPX9 | PSP2020 | PSP2021| PSP2022 | PSP2023 & PhotoMirage installed; PSPX | PSPX2 thru PSP2019 owned but not installed
http://www.flickr.com/photos/37153430@N03/
CHoffman
Posts: 54
Joined: Sun Dec 10, 2017 1:55 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Asus Z270-A
processor: i7700K 4.2 GHz
ram: 16.0 GB
Video Card: Nvidia K1200
sound_card: integrated or Nvidia or Emu
Hard_Drive_Capacity: 2T+SSD
Monitor/Display Make & Model: Viewsonic VP2468 monitor and Canon PRO-100 printer
Corel programs: Paintshop Pro 2019 & bundle
Contact:

Re: Changing one colour to another throughout entire image

Post by CHoffman »

Very true about multiple ways to do things. Per the previous thread, the point of scanning in color is to take advantage of the built in filtering that creates a color image. Take your color image and split to RGB, using image/split channel/split to RGB. You'll then have four images on the screen, the original, red1, green1 and blue1. In this case, keep red1 and close the rest. You can then clean up the margins if desired and improve the contrast and brightness. I usually do the latter using histogram adjust, changing compress/expand and gamma.
red channel
red channel
comic red channel.jpg (39.5 KiB) Viewed 1865 times
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
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: Changing one colour to another throughout entire image

Post by Jean-Luc »

Insert a white raster layer under the image's layer.
Use the Suz's Shook RemoveAnyColor script to remove the brownish color (settings : R247 G223 B175 Tolerance 50 Softness 30)
Apply an Histogram adjustement (Ctrl+Shift+H). Settings : Low 50, Gamma 0,60.

Here the result.
Values need adjustment because your sample image is tiny and my settings may be not precise enough.
Action layers.png
Action layers.png (34.18 KiB) Viewed 1856 times
Action source target.png
ss-RemoveAnyColor-00.zip
(760 Bytes) Downloaded 119 times
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
RMS1
Posts: 27
Joined: Sun May 22, 2016 5:04 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 4GB
Corel programs: Paintshop Pro

Re: Changing one colour to another throughout entire image

Post by RMS1 »

Wow! Excuse my naivete, but what great ideas and results! I am making notes of all this.
While I am here, can I ask a small off-topic question? I've looked through the manual, and tried googling search terms, and haven't seen an answer. If I am using Erase or Paint Brush, how can I make a change by sweeping the mouse either true vertically or true horizontally in a straight line? I'd thought the Shift, Ctrl or Alt key would be used with the mouse, but they seem to be for other purposes.
Thanks,
Roger
Jean-Luc
Advisor
Posts: 2177
Joined: Sat Oct 22, 2011 10:50 pm
operating_system: Windows 10
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: Changing one colour to another throughout entire image

Post by Jean-Luc »

RMS1 wrote: how can I make a change by sweeping the mouse either true vertically or true horizontally in a straight line?
Roger
In vector mode, Shift permits to draw a straight line horizontal or vertical.
In raster mode (Erase or Paintbrush), it doesn't work.
You need to do it with :
View / check Rulers, check Guides and check Snap to Guides
Place a guide where you want to draw your line.
Draw on the guide.
THE PAINTSHOP PRO COOKBOOK - GENEALOGY WITH PAINTSHOP PRO
Installed PSP Ultimate: X7, X9, 2018, 2019, 2020, 2021, 2022, 2023
MarkZ
Posts: 1080
Joined: Sat Feb 05, 2011 10:41 pm
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
motherboard: Intel DQ67SW desktop
processor: Intel Core i7 i7-2600 3.40 GHz
ram: 8 GB
Hard_Drive_Capacity: 500 GB
Monitor/Display Make & Model: LG Flatron E2241
Corel programs: PSP 2018 X9 X8 X7 X6 ASP3 ASP
Location: Toronto

Re: Changing one colour to another throughout entire image

Post by MarkZ »

Jean-Luc wrote:
RMS1 wrote: how can I make a change by sweeping the mouse either true vertically or true horizontally in a straight line?
Roger
In vector mode, Shift permits to draw a straight line horizontal or vertical.
In raster mode (Erase or Paintbrush), it doesn't work.
You need to do it with :
View / check Rulers, check Guides and check Snap to Guides
Place a guide where you want to draw your line.
Draw on the guide.
If I may add to Jean-Luc's comment; in raster mode and using paintbrush and the guide, click on the guide for the starting point. Go to another point on the guide, press shift and click on the guide. Paintbrush will draw a straight line between the points. This applies to other tools such as eraser.
Mark
RMS1
Posts: 27
Joined: Sun May 22, 2016 5:04 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 4GB
Corel programs: Paintshop Pro

Re: Changing one colour to another throughout entire image

Post by RMS1 »

Thanks for the replies on the off-topic question about painting or erasing in vertical and horizontal lines - have made notes. Appeciated.
- Roger
Post Reply