Jump to content
How to Install Plugins ×

Color Harmonies (Tools Effect)


Recommended Posts

According to @toe_head2001, it should work if you place the OptionBased files in /My Documents/paint.net App Files/Effects/

 

Edit: ^^I just tried it. It does work!

 

 

Link to comment
Share on other sites

1 hour ago, TrevorOutlaw said:

Edit: It does work, it shows up on the bottom of the Effects list, but I will have to live with this popup error message every time PDN starts.

Umm, the error message tells you what you need to fix.  Simply copy the ColorHarmonies.Effect.dlc file into the Effects folder.

(September 25th, 2023)  Sorry about any broken images in my posts. I am aware of the issue.

bp-sig.png
My Gallery  |  My Plugin Pack

Layman's Guide to CodeLab

Link to comment
Share on other sites

Yup. Unzip the entire attachment to that location. Remember, this changed installation method is only for the Windows Store version of paint.net.

Link to comment
Share on other sites

1 hour ago, Ego Eram Reputo said:

Yup. Unzip the entire attachment to that location. Remember, this changed installation method is only for the Windows Store version of paint.net.

 

Thanks for your assistance; however, I have decided to boot this plugin from my system.

 

Apologies for wasting your time in your assistance.

 

 

 

Link to comment
Share on other sites

  • 2 years later...
14 hours ago, Reptillian said:

Non-existent plugin is non-existent.

 

I just thought I'd let you know.

 

@Ego Eram Reputo

 

Many thanks @Reptillian

 

I can't find this Plugin in my collection :(  If anyone has it, please post it and I'll re-post to the front page :)

30b8T8B.gif

How I made Jennifer & Halle in Paint.net

My Gallery | My Deviant Art

"Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.

 
Link to comment
Share on other sites

This made me work on my own version of Color Harmonies though I will not be able to make a plugin for it as I don't know WinForms. It's actually quite easy to replicate the generation of palette. I have done everything in that area. Maybe @midora can work with this?

 

For those who wants the color palette generation code:

Spoiler
+rep_color_harmony:
ang,saturation,shade_tint,choice=${1-4}
#x in the below is the id number of each color
{arg(1+$choice%11,6,6,6,2,3,3,4,3,4,5,6)},1,1,3,">begin( #arg(1+n) is like a switch statement. 1 is used to shift to select first argument. The first 4 argument defines the dimension as in width,height,depth,number_of_channels
  fmod(a)=a-360*floor(a/360); #Enable wrap-around
  const start_ang=fmod($ang); #Starting Angle
  const saturation=cut($saturation,0,1); #cut restrict value of $saturation to be within 0,1 inclusive
  const shade_tint=cut((1+$shade_tint)/2,0,1); #See above
  const choice=$choice%11; #This defines the palette
  ang=start_ang;
  choice<3?( #Neutral 8-15 and Analogous 30
   const add_ang=arg(choice+1,8,15,30);
   new_ang()=x?(ang+=add_ang;ang=fmod(ang););
  ):
  choice==3?( #Complementary
   new_ang()=x?ang=fmod(ang+180);
  ):
  choice==4?( #Split Complementary
   new_ang()=x==2?(ang+=60;ang=fmod(ang);):x==1?(ang+=150;ang=fmod(ang););
  ):
  choice==5?( #Triadic
   new_ang()=x?ang=fmod(ang+120);
  ):
  choice==6?( #Tetradic
   new_ang()=x?ang=fmod(ang+90);
  ):
  choice==7?( #Clash
   new_ang()=x?(ang=fmod(start_ang+(x%2?90:-90)));
  ):
  choice==8?( #Four Tone
   new_ang()=x?(ang=fmod(ang+arg(x%2+1,120,60)););
  ):
  choice==9?( #Five Tone
   new_ang()=x?(x==1?(ang=fmod(ang+120);):(ang=fmod(ang+arg(x%2+1,30,60))););
  ):(         #Six Tone
   new_ang()=x?(ang=fmod(ang+(x%2?30:90)););
  );
 );
 new_ang();
 [ang,saturation,shade_tint];"
hsl2rgb.

 

 

Edited by Reptillian

G'MIC Filter Developer

 

I am away from this forum for undetermined amount of time: If you really need anything related to my PDN plugin or my G'MIC filter within G'MIC plugin, then you can contact me via Paint.NET discord, and mention me.

Link to comment
Share on other sites

  • 3 weeks later...

I can confirm that load and save of options no longer works in various plugins based on OptionBasedLibrary. This is a library issue the plugins themself are not involved. I can not update something there untile OptionBasedLibrary itself has been updated to 4.3.3. This may take some time.

Load and save just serialize/deserialize the EffectToken (the dialog options) to XML. The library can do this w/o knowing the content of the EffectToken.

  • Thanks 1

midoras signature.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...