How to reverse colors in a two color graphic

Corel Paint Shop Pro

Moderator: Kathy_9

Post Reply
BethinNEPA
Posts: 2
Joined: Sat Aug 03, 2013 12:29 pm
operating_system: Windows 7 Starter
System_Drive: C
32bit or 64bit: 64 Bit

How to reverse colors in a two color graphic

Post by BethinNEPA »

Is there an easy way to simply reverse colors in a two color jpg? I have checked all the help lists and searchs but can't find an answer.
It is an existing jpg, not one I originally created but have been given permission to use.
Thanks for any help. Beth
photodrawken
Posts: 684
Joined: Wed Sep 26, 2012 8:40 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16Gb
Hard_Drive_Capacity: 324Gb
Location: USA

Re: How to reverse colors in a two color graphic

Post by photodrawken »

On the main menu bar: Image...Negative Image.
Ken
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
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: How to reverse colors in a two color graphic

Post by LeviFiction »

That only works if the two colors are Black and White - which is the most likely.

In the unlikely event that the colors are two different unrelated colors that Negative Image won't properly switch. Then try something like this.

If there are no smooth pixels, pixels that represent a transition in color between the two main colors, you can use the magic wand tool with Contiguous turned off to select one color and promote the seelction to a new layer. (Selections -> Promote Selection to layer)

That will separate one color from the other. Then you can just use the color replacer tool. http://www.youtube.com/watch?v=B9DqLjA57_o
https://levifiction.wordpress.com/
photodrawken
Posts: 684
Joined: Wed Sep 26, 2012 8:40 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16Gb
Hard_Drive_Capacity: 324Gb
Location: USA

Re: How to reverse colors in a two color graphic

Post by photodrawken »

LeviFiction wrote:That only works if the two colors are Black and White - which is the most likely.
???

Here's the original:
Image
Uploaded with ImageShack.us

and the negative image:
Image
Uploaded with ImageShack.us
Ken
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
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: How to reverse colors in a two color graphic

Post by LeviFiction »

Fine, it only works if the two colors are directly opposite each other.
https://levifiction.wordpress.com/
photodrawken
Posts: 684
Joined: Wed Sep 26, 2012 8:40 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16Gb
Hard_Drive_Capacity: 324Gb
Location: USA

Re: How to reverse colors in a two color graphic

Post by photodrawken »

LeviFiction wrote:Fine, it only works if the two colors are directly opposite each other.
Aha! Now I see. You're right, then one needs to separate the colours to do a replacement.
Ken
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
photodrawken
Posts: 684
Joined: Wed Sep 26, 2012 8:40 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16Gb
Hard_Drive_Capacity: 324Gb
Location: USA

Re: How to reverse colors in a two color graphic

Post by photodrawken »

OK, I found a way that works even if there's a blended transition between the two colours.

Given this original image:
Image
Uploaded with ImageShack.us

1. Create two new raster layers.
2. Using the Eyedropper tool and the Flood Fill tool, fill the lower raster layer with one of the original colours, and the upper raster layer with the other colour.
3. Add a mask layer to the upper raster layer, showing all.
4. On the original image layer, use Selections...Select All (Ctrl+A).
5. Copy that selection to the Clipboard.
6. Switch to the mask layer, and use Edit...Paste Into Selection. Your layers now look like this:
Image
Uploaded with ImageShack.us
7. Apply an Adjust...Brightness and Contrast...Levels adjustment to the mask layer with these settings:
Image
Uploaded with ImageShack.us

Your final layers look like this:
Image
Uploaded with ImageShack.us

The final image:
Image
Uploaded with ImageShack.us
Ken
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
BethinNEPA
Posts: 2
Joined: Sat Aug 03, 2013 12:29 pm
operating_system: Windows 7 Starter
System_Drive: C
32bit or 64bit: 64 Bit

Re: How to reverse colors in a two color graphic

Post by BethinNEPA »

I sent a thank you earlier but haven't seen it post yet. I wanted all of you who have been commenting that I really appreciate the prompt attention!
Because the graphic was black and white I was able to do the reversing. So that was good. I am also enjoying the discussion on the other options and what they can do. I will save all the notes so I can refer to them when I need them again!
Thank you again!
Beth in NEPA
photodrawken
Posts: 684
Joined: Wed Sep 26, 2012 8:40 am
operating_system: Windows 10
System_Drive: C
32bit or 64bit: 64 Bit
ram: 16Gb
Hard_Drive_Capacity: 324Gb
Location: USA

Re: How to reverse colors in a two color graphic

Post by photodrawken »

Beth,
You're welcome. If you have any more questions, you know where to find us....
Ken
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
Post Reply