Jump to content

Recommended Posts

Posted

Hello

Cannot fathom how to resize canvass equally on all sides. Example, I want to extend it by 10px all around.

When I try, one side is larger than the other, or two when resized from centre outwards.

image.png.eaaa82a8c65b86e1e8cb0bbeeda872be.png

Any help appreciated.

Thanks.

Posted

Try this
Document/ Resize Canvas
Set Anchor to middle
Turn off padlock
Type +20 into the width & height fields

CanvasPlus10.png

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted

I created a macro, but there's no "obvious" way to apply it. I double-click with my pen, nothing. I drag-drop it onto the image, nothing. I context-click, no play menu item. Then I accidentally found if I use the double-click button on my pen, the macro is applied.

I cannot record reordering layers via a macro, nor save the file. Example: open an image with a background. Unlock layer. Resize canvas (no option I could find to fill transparency, hence next step). Add layer. Drag it to below the background layer. Get a warning.

I dropped the step as I was saving JPEGs but if I wanted another colour than white, macro couldn't be created, unless you know the Cmd+[ KBSC. This feels like a bug to me because operation can be performed, just not by dragging a layer.

I tried filling transparency by using the fill KBSC: Opt/Cmd+Delete. While they fill layer as expected, Shift+Cmd/Opt+Delete just deletes layer, same action as just using Delete by itself.

Posted

Add the macro to the Library and run it from there
Layers can be reordered using the options under Arrange, mouse in the Layers panel doesn't work as you've found. There's another snag in that layer positions appear to be stored as N from the bottom so if you record a macro using 3 layers then use it on a file with 13 you'll get a surprise
You can only save files if you use a New Batch Job to apply the macro
If you want a matte try the attached macro. Don't use a fill layer as you can't change the colour

For a laugh record a macro using the instructions I wrote above. Now run the macro on a file with different dimensions and see what happens. This is why my macro to add 10px to each side goes around  the houses with fill layers & transforms

Photo macros are better than nothing but they're not a patch on PS actions
Hours of fun

Add2Library.png

MacroHint.png

AddMatte.afmacro

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted
3 hours ago, 4Candles said:

I double-click with my pen, nothing

Unfortunately, there is a known issue with clicking on a macro with a pen; try a mouse.

AF-1051

3 hours ago, 4Candles said:

I drag-drop it onto the image, nothing.

That is not how one runs macros. One just clicks on them in the Library panel, or chooses Run in the macros panel, or uses a Batch Job. Help for the more common way, the Library panel: https://affinity.help/photo2/en-US.lproj/pages/Panels/libraryPanel.html

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted
Quote

Add the macro to the Library and run it from there

How? There's no play button in the Library panel (please see previous post).

Quote

You can only save files if you use a New Batch Job to apply the macro

That's a big minus as I wanted to save all the steps all the way to closing the document.

Quote

For a laugh record a macro using the instructions I wrote above

There's an Export Macros menu item in the Library panel but cannot see an import Macro item.

Quote

Photo macros are better than nothing but they're not a patch on PS actions

Agree.

Thanks.

Posted

 

Quote

 

I drag-drop it onto the image, nothing.

That is not how one runs macros.

 

That was one expected method. Obviously, not implemented in AP.

Quote

One just clicks on them in the Library panel

Nothing happened when I clicked. 🙄

Quote

Chooses Run in the macros pane

No longer in the Macro panel. I exported the macro I created to the Library panel.

I just spotted an import item in the Macro panel menu, but none in the Library panel (as I noted in my previous post).

I wanted to import some LUTs, again, no import option in the Adjustments panel, so gave up.

Thanks.

Posted
53 minutes ago, 4Candles said:

That's a big minus as I wanted to save all the steps all the way to closing the document.

'fraid that's how it is, there are lots more minuses yet to discover

.macro files can be exported & imported using the two icons on the right of the Macro panel

.macros files can be exported & imported using the hamburgers of the Library panel. Note that to Export you need the lower hamburger which is on the same level as the Category name, Default in my case

To import LUTs open the Adjustment panel and click the cog

One.png

Two.png

Three.png

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted
Quote

'fraid that's how it is, there are lots more minuses yet to discover

Thanks, David. I noticed you can import macros in the Macro panel. I meant you cannot import them into Library. If that's how it is, then it needs to change.

You or someone mentioned the cog icon on the LUT row in Adjustments, but there was none that I could trigger. I experimented after seeing your screenshot and found I have to have an image open, and select the row before I can import LUTs. That's bad, IMO. Icon should appear on appear on mouseOver. If no image open, just grey out the LUT list when clicked. Once you know the secret sauce, all good but if you are new to the kitchen, creates a lot of work.

Posted
49 minutes ago, 4Candles said:

I noticed you can import macros in the Macro panel. I meant you cannot import them into Library.

As David said:

1 hour ago, David in Яuislip said:

.macro files can be exported & imported using the two icons on the right of the Macro panel

.macros files can be exported & imported using the hamburgers of the Library panel

A *.macro file contains a single macro, whereas a *.macros file contains a collection of one or more macros. Affinity Photo on iPad currently only imports the latter type, so if you want to share a single macro with iPad users you’ll need to export it from the Library panel rather than the Macro panel.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen)

Posted (edited)

.macro files hold a single macro. If you have a file and you want it to be in the Library you have to do that via the Macro panel by importing it then adding to the Library
.macros files hold a category which can be one or lots of macros

"That's bad, IMO." Harsh, I'd call it idiosyncratic. Just keep clicking things until you beat the program into submission then go down the pub

As the Daleks said, "Resistance is futile"

Bugger, beaten, that's me not the Daleks

Edited by David in Яuislip
beaten again

Microsoft Windows 11 Home, Intel i7-1360P 2.20 GHz, 32 GB RAM, 1TB SSD, Intel Iris Xe
Affinity Photo - 24/05/20, Affinity Publisher - 06/12/20, KTM Superduke - 27/09/10

Posted
23 minutes ago, MEB said:

Hi @4Candles,
Welcome to Affinity Forums :)
I've bumped the report about the issue with activating/running macros using a tablet and pen.
Thanks for your feedback.

Thanks, MEB. 

Not a fan of RTFM. Well, not for simple things like running macros. IMO, following would help:

Add option to Import macros into Library.

Allow drag drop macro onto image to run it .

Add Run Macro to context menu in Library.

Allow export, save, close image as part of a macro.

Allow drag layer to reorder when creating a macro.

I don’t think anything’s gained by excluding import, run, delete buttons in the Library panel. Having them in the open would help (I wouldn’t have need to start this thread, for one).

 

 

 

 

 

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

Loading...
×
×
  • 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.