Jump to content

Search the Community

Showing results for tags 'expressions'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Affinity Support Forums
    • News and Information
    • Affinity Support & Questions
    • Feature Requests & Feedback
    • Bugs in Affinity Designer & Affinity Photo
  • Learn and Share
    • Tutorials (Serif and Customer Created Tutorials)
    • Share your work
    • Resources
  • Affinity Beta Software Forums
    • Affinity Designer Beta Forums
    • Affinity Photo Beta Forums
    • Affinity Publisher Beta Forums

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 8 results

  1. Is there a list of functions which can be used in the "Apply Image Filter" equations? The online manual and video only show simple channel arithmetic. In the Affinity Photo WorkBook - London Calling 2 - (p234) - lerp(SA,Sb,0.2) is used for "linear interpretation ... mapping the b channel to a mix of a and b channels " So I assume there would be other functions.
  2. I've just been going through a tutorial on Expressions, using the Transform tab to create mathematical patterns. I understand the basics of it, for example x+200 moves the Power Duplicated object 200 on the x axis, y+100 moves object 200 on the y axis, w*.5 reduces width by 50%, but what if I want a curved pattern? I'm trying to get a simple inward spiral using a simple ellipse. I want this to curve outward slightly, but gradually decrease in size inwards, in a spiral pattern. Can I use Expressions for this? The attached pic uses Expressions and Power Duplicate to gradually decrease size, but the spiral I have manually created.
  3. Hello I encounter problems exporting a rotated image. While the slice preview looks okay, the exported .jpg is cropped and rotated (as if I never rotated the image) Here are the steps I took: Open a .CR2 with landscape orientation. Rotate the view (not the image) by 90 degrees counter-clockwise in the Develop persona. Develop the raw. Reset the view rotation and rotate the image counter-clockwise in the Photo persona so that it has a portrait orientation. Do some additional cropping. Export using the Export persona. The preview looks right, but the exported image is not: while the file 'canvas' is right, the content of the canvas is back to its original rotation (landscape) and the rest of the canvas is white. Additional issues I encountered when I wanted to circumvent this problem: Ignore the pre-made slice and make a new one. I tried to size and position the slice correctly by using the expressions ph en pw in the height and width fields of the transform panel. But this makes the slice now landscape oriented (while the image itself has a portrait orientation). So being adventurous I used pw in the height field and ph in the width field, thinking that would solve the problem. Turns out the slice has the size of the image before I cropped it. So it looks like the expression values refer to a pre-crop and pre-rotated state of the image. I hope this is of any help!
  4. MartinsRibeiro

    Macros - using expressions on macros

    Hello I have a question regarding the use of expressions on macros. This is the situation: I have several images with different sizes, and I need to create a macro to change the canvas. Since the images have different sizes, I need to use expressions but somehow I cannot make it work. Let's assume 2 images: Image A: 2100x1000px Image B: 1900x700px I need to add 200px at the bottom of the image. I add the expression +=200 to the height, unlocking the padlock and placing the anchor on top. It works fine but the macro saves the final value (in Image A it would be 1200px) and not the expression. If I apply the same macro to image B, the final image will have 1200px instead of 900px. Am I doing something wrong? Thank you in advance
  5. I noticed that the very useful expressions for sizing and positioning content using the Transform panel only work for pages and not for artboards. Can variables like artboardwidth, artboardheight etc. be added as well? Thanks in advance!
  6. Peter Werner

    Overflow artifacts in Apply Image

    Trying out the awesome new Equations feature in "Apply Image", I found that expressions that lead to out-of-bounds values are not handled gracefully (8-bit mode). My test was a simple color difference greenscreen keyer: DA = SG - max(SR, SB) The result has artifacts where this expression yields negative results. Doing the clamping manually works fine. DA = max(0, SG-max(SR, SB)) It would make more sense to always have this clamping performed automatically and implicitly for non-float documents. This would also ensure that more expressions and macros created for unbounded floating point images will work with 8-bit and 16-bit documents without adjustments. I have also not been able to find out how to access the current pixel's coordinates inside Apply Image (seems to work for "Distort > Equations" expressions) and what the syntax for modulo operators is, but that's likely either due to my stupidity or it not being implemented yet and not a bug. Also, I noticed a strange 1-pixel diagonal line pattern when choosing a source layer and then navigating to an adjustment layer in the Layers panel.
  7. Use print-ready keyboard shortcut cheat sheets to help increase your design efficiency. The cheat sheets are presented per Persona with additional gesture and expressions sheets included. Affinity Designer Cheat sheets (Download) Comprises: Draw Persona Pixel Persona Advanced Text Gestures Expressions Affinity Photo Cheat sheets (Download) Comprises: Photo Persona Liquify Persona Develop Persona Panorama Persona Advanced Text Gestures Expressions Affinity Designer + Photo Cheat sheets Pack (Download) If you’re a fan of customizing shortcuts to suit your preferred way of working, you can customize you own shortcut cheat sheets too. Simply download and edit an .afdesign template files in the Shortcuts Template zip file. Comprises: Designer Shortcuts Template Photo Shortcuts Template Best Wishes Affinity Documentation
  8. When Resizing the Canvas, is there a better way to clear the size fields in order to enter an expression ...such as +=xx... than clicking on the desired field and backspacing 7 times? I must be overlooking something but I don't know what. Edit: Never mind! Finally realized that the equals sign in the example is not needed. The explanation would have been less confusing if the equals sign had not looked like a integral part of the expression.
×