Jump to content
You must now use your email address to sign in [click for more info] ×

NotMyFault

Members
  • Posts

    6,692
  • Joined

  • Last visited

Posts posted by NotMyFault

  1.  found a strange issue.

    Using a PT filter to add a small amount to selected color channels, the PT filter stops working after 32 copies.

    Basic principle:

    base fill layer gives R and G as zero, and B as 1 (of 255)

    PT filter adds value of B to R and G channel. B values stays constant.

    Use info panel to inspect color values (and your eyes to see canvas).

    The filter adds up nicely until color value 32. Then it stops to add.

    You may modify the base layer color values, e.g change R value from zero to 27 and result still stays at 32. So it is not depending on number of PT filters, it is depending on color values. Only when setting R to 32 you start to get higher values (after pT filter)

    I use other file with hundreds of PT filters working fine. 

    Mac mini M1 (2020)

    Affinity 2.3.1 retail and beta 2.4.0

     

    PT filter cannot count above 32 bug.afphoto

  2. 56 minutes ago, Scripto said:

    Thank you for your solution but I have three questions: 1. won't that leave a white halo around the object?

    no. It will perfectly blend. Did you try yourself? You don't need to trust my words ;-)

    56 minutes ago, Scripto said:

    2. What about a freeform object (not symmetrical geometry?)

    Then you need a different approach.

    1. Duplicate the freeform shape. (duplicate linked to ensure it will update later you adjust the shape)
    2. Add gaussian blur, nested to masking position of duplicate
    3. nest the duplicate to masking position of original layer.
    4. adjust blur radius as needed.

     

    56 minutes ago, Scripto said:

    , but if this program has a function that doesn't work, shouldn't it be fixed? 

    Yes I totally agree. But I'm only a paying customer, not Affinity / Serif staff.

  3. feather selection is not the best approach in this specific case.

    You always need to convert this selection into a mask, or use copy/paste, not allowing the easily adjust the radius later.

     

    If you want a circular shape with feathered edge:

    • add a circle
    • add a circular gradient
    • set both points to white
    • add 3rd node near edge where you want the feather to start
    • select node at edge
    • reduce color opacity of that node to zero
    • Nest this shape into masking position of your pixel layer
    • adjust the gradient node position to taste / as needed

     

     

     

    Screenshot 2024-01-27 at 18.46.50.png

  4. Another solution which works better in certain situations:

     

    1. Duplicate the layer you want to feather 
    2. nest one to the other in masking position 
    3. add live Gaussian blur in masking position of inner
    4. Adjust strength to taste
    5. in my experiments the alpha values did not reach 0 to 100 but only a subset of this range. To correct:
    6. add a channels mixer above child layers
    7. choose alpha channel 
    8. set offset to -100%
    9. set alpha input to 200%

    now the feather works as wanted.

     

    IMG_1039.thumb.png.a450a591f05755dd7d7a03630d8a2512.pngIMG_1038.thumb.png.b18ea180acaff87d35b7a3bb12d6ee9b.pngtutorial live feather mask.afphoto

  5. Just found a better solution:

    1. Duplicate the layer you want to feather 
    2. nest one to the other in masking position 
    3. add live Gaussian blur in masking position of inner
    4. Adjust strength to taste
    5. in my experiments the alpha values did not reach 0 to 100 but only a subset of this range. To correct:
    6. add a channels mixer above child layers
    7. choose alpha channel 
    8. set offset to -100%
    9. set alpha input to 200%

    now the feather works as wanted.

    The file shows a 1px checkered board above a blue fill layer. You can feather the shape from hard edge to soft 

    IMG_1039.png

    IMG_1038.png

    tutorial live feather mask.afphoto

  6. To explain it differently: even if you use a very light color with 98% and assign it to a linked PNG, the luminosity of the result will be that of the PNG, 74% in this case.

    to get perfect results, you need to use e.g. an hsl adjustment to correct the luminosity first, before changing the hue/saturation.

  7. I tested both V1 and v2 and got identical results.

    When you assign a color to an embedded or linked file, the color will only be identical in RGB values if the luminosity of the embedded image is identical. 
     

    For a test,

    1. create a rectangle of 256px
    2. and use a black  tom white gradient.
    3. Export as PNG
    4. create a new document
    5. embed the PNG
    6. add a rectangle 256px x 80 px
    7. arrange both to slightly overlap in position vertically
    8. group both layers
    9. now use the color panel to assign various colors. This will impact both layers simultaniously.

    you will see that colors match in exactly in one of the 256 columns (if at all).

    So if you have a png with uniform color and luminosity, you cannot get one specific color, the range of colors is limited by the luminosity of your source image.

    you can use other methods to get the desired results.

     

     

  8. 2 hours ago, pfi said:

    When weird stuff happens again, I will try to remember and do your suggestions. - thanks

    Thanks for your reply.

    Most important: in case you want to file a bug report, always attach an afphoto file where having this issue. Filing a bug report and not saving the actual file can cause waist of time for all who try to work on the issue, as nobody will be able to reproduce.

    2 hours ago, pfi said:

    run a macro, which makes a copy of the background image and ads my most often used adjustments and filters, most unmodified, some with minor pre-adjustments.

    That is important. 

  9. 4 hours ago, walt.farrell said:

    I've been curious about that recommendation. Often, the lower layer will be the background layer, and by definition it has the proper DPI and is aligned to the grid. So why would rasterizing it help?

    you are safe when opening a file via „open“.
    In case the layer is created by „place“ or „pasted“ into an exiting document it is often misaligned, or will be enlarged or reduced. 

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.