Jump to content

Pratyush

Members
  • Posts

    249
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Pratyush

  1. You cannot change value without changing Hex-code. hex-code is very definition of a color, if a color changes slightly, hex code will also change according to it. the color is stored in computer as combination of three primary light color red,green,blue.

    Where as, 

    HSV format is invention  i.e. alternative representations of the RGB color model, designed computer graphics researchers to more closely align with the way human vision perceives color-making attributes. Hue is the color picked, saturation like amount of water mixed into it and value is like mixing of white or black color in given hue. 

     

    RGB or Hex-code varies according following formula.

     

    HSV to RGB conversion formula

    When 0 ≤ H < 360, 0 ≤ S ≤ 1 and 0 ≤ V ≤ 1:

    C = V × S

    X = C × (1 - |(H / 60°) mod 2 - 1|)

    m = V - C

    hsv-to-rgb.gif

    (R,G,B) = ((R'+m)×255, (G'+m)×255, (B'+m)×255)

     

    As you can see , if you change V, the RGB is re-calibrated. If Hex code is locked, then HSV will also become locked,

  2. Suppose, You are explaining PDN 's powerful features to a person specially when they are new to use PDN. Other than basic functionality  there will some tips or tricks or things (or trivia :grin:) that you will like them not to miss.

     

    What things will you tell ?

     

    Mine are 

    1) There are plugins for PDN.

    2) Shapes3D by MKT is must have.

    3) Chasys Draw IES and Irfanview are two other programs which can open PDN files.

    3) There are two curves out there one is bezier other is interpolation.

    4) Move Selected Pixels tool also uses right-click dragging for rotation.

    5) You can create a duplicate of selected part of image in a layer by Ctrl + move . 

     

     

    • Upvote 1
  3. Broken Egg

     

    <ps:SimpleGeometryShape xmlns="clr-namespace:PaintDotNet.UI.Media;assembly=PaintDotNet.Framework"
                            xmlns:ps="clr-namespace:PaintDotNet.Shapes;assembly=PaintDotNet.Framework"                 
                            DisplayName="BrokenEgg"
                            Geometry="M 95.91,304.07 A 85.32,86.04,89.65,1,0,391.48,302.27 Q 395,179,316.68,99.51 L 283.34,131.95,306.77,150.88,272.53,231.08,283.34,164.39,252.7,138.26,284.24,76.08 C 211,20,101,117,95.01,304.07
    "/>


    Egg

     

     

    <ps:SimpleGeometryShape xmlns="clr-namespace:PaintDotNet.UI.Media;assembly=PaintDotNet.Framework"
                            xmlns:ps="clr-namespace:PaintDotNet.Shapes;assembly=PaintDotNet.Framework"                 
                            DisplayName="Egg"
                            Geometry="M 70.92,321.63 A 93.05,104.42,90,1,0,393.27,321.63 C 385,108,310,50,240,50 C 140,40,70.92,196.28,70.92,321.63
    "/>

×
×
  • Create New...