Jump to content


Photo

invert around primary color


  • Please log in to reply
7 replies to this topic

#1 Enormator

Enormator
  • Members
  • 308 posts
  • Locationwhere my laptop is
  • Reputation:2

Posted 25 April 2009 - 11:05 AM

Adjustments -> Posted Image invert around primary color

version 1.1

You know "invert colors"? This plugin is quite similar except that you can invert colors around other colors. Look at the examples to understand.

If you want to make this picture look stamped-in instead of stamped-out, you can just use the normal invert colors effect
Posted Image __ :InvertColors: invert colors__> Posted Image

But on this picture, it would be impossible to do that because it would look like this:
Posted Image __ :InvertColors: invert colors__> Posted Image

Now this plugin comes in handy. You take the color picker :ColorPicker: and select the middle color (like in the background of the picture) as primary color. The you use Adjustments->Posted Imageinvert around primary color
Posted Image __Posted Imageinvert around primary color__> Posted Image

Another example: A middle orange has been selected as primary color. Note how every bump is inverted.
Posted Image __Posted Imageinvert around primary color__> Posted Image

With normal color inversion :InvertColors: the outcome would be like this: Posted Image

:idea: A usage tip: If you don't know the middle color of your image, just resize it to 1x1 px and then colorpick the only pixel left. Undo the resize and then you can easily use my effect.

Let me see, what you use it for! I'm looking forward to other creative using ideas for this plugin :mrgreen:

History:
v1.1
added color wheel

Attached Files



#2 Simon Brown

Simon Brown
  • Members
  • 10,186 posts
  • Reputation:15

Posted 25 April 2009 - 11:09 AM

Perhaps i'm misunderstanding the plugin, but could you have it autodetect the middle colour?
Posted Image

#3 Enormator

Enormator
  • Members
  • 308 posts
  • Locationwhere my laptop is
  • Reputation:2

Posted 25 April 2009 - 02:54 PM

You are not misunderstanding anything as it seems. I'm working on it :)

EDIT:
This seems to be more difficult than I thought (maybe even impossible) due to the multithreaded rendering architecture of PdN. Would it also be a good thing to have a color wheel where you can select a color and see how it looks like?

EDIT2:
color wheel added in v1.1

#4 barkbark00

barkbark00
  • Members
  • 3,336 posts
  • Reputation:2

Posted 26 April 2009 - 02:30 AM

I'm no programmer but couldn't you just do virtually what you described for the manual steps? Copy the canvas, resize the copy to 1x1, then pass the color of the remaining pixel as the default selected color...
Posted Image
Take responsibility for your own intelligence. ;) -Rick Brewster

#5 PeaceHeather

PeaceHeather
  • Members
  • 46 posts
  • Reputation:0

Posted 26 April 2009 - 03:50 AM

Duuude, this looks sweet - I've been wanting something that could do this! I'll download it after a week or so has passed and you've had time to fix any bug reports that come in. 8)

Cheers!

#6 Blooper

Blooper
  • Members
  • 2,102 posts
  • Reputation:0

Posted 26 April 2009 - 01:39 PM

I remember there was an average blur plugin lying about that gave the average color of your canvas. Maybe it can help?
[Edit] There, in KrisVDM's pack:
viewtopic.php?f=16&t=22881&hilit=average+blur

#7 m2lucky

m2lucky
  • Members
  • 164 posts
  • Reputation:0

Posted 28 April 2009 - 02:41 AM

I like this. nice work

Music Brings color to the world
Posted Image
My Gallery|Frozen Text|Snowy Font|MSNBC Effect


#8 Enormator

Enormator
  • Members
  • 308 posts
  • Locationwhere my laptop is
  • Reputation:2

Posted 02 May 2009 - 11:20 AM

I remember there was an average blur plugin lying about that gave the average color of your canvas. Maybe it can help?
[Edit] There, in KrisVDM's pack:
viewtopic.php?f=16&t=22881&hilit=average+blur


I already got helped with it in the Plugin Developer Central but I'm in the mid of my degree tests right now, so probably there won't be anything done until next week.

Duuude, this looks sweet - I've been wanting something that could do this! I'll download it after a week or so has passed and you've had time to fix any bug reports that come in. 8)

Cheers!

I think at the moment this plugin is just too simple to have serious bugs. It's made with codelab and not very complicated.

Thank you all for the feedback :)