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

Recommended Posts

I used the Stroke command in PS a lot, but now that I am learning Affinity, I can't seem to find a similar command. I would frequently use the Marque tool, a freehand selection or come up with a shape in conjunction with using guides and then stroke them. Is there a way to do that in Affinity as easily as in PS?

Link to comment
Share on other sites

I’m confused by your combination of the Marquee Tool (there are more than one), and shapes, and guides, and “stroke them” in the same sentence.

Can you give us a more detailed example of what you are trying to do, preferably with a visual example and/or a document?

Link to comment
Share on other sites

You need to use Select/Outline then fill the gap. Far too tedious so I wrote a macro
It's not as versatile as Photoshop, you can't choose inside/centre/outside as that is frozen during macro recording and was set to outside but it does what I need

StrokeSelection.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

Link to comment
Share on other sites

30 minutes ago, David in Яuislip said:

You need to use Select/Outline then fill the gap. Far too tedious

… indeed odd that the menu "Edit" > "Fill…" dialog is simply missing "Stroke" options.

Bildschirmfoto2024-03-27um11_47_54.jpg.a6e569ab65a6e46ce200b87bcd2bcb2b.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

21 minutes ago, thomaso said:

… indeed odd that

I prefer idiosyncratic to odd. My next reply in the bugs section is indeed odd though 🙂

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

Link to comment
Share on other sites

18 hours ago, GarryP said:

I’m confused by your combination of the Marquee Tool (there are more than one), and shapes, and guides, and “stroke them” in the same sentence.

Can you give us a more detailed example of what you are trying to do, preferably with a visual example and/or a document?

I made a simple example of using guides, creating a rectangular shape using the Rectangular Marque Tool, and stroking that using a black line centered on the Marque. Within that is another shape using the Lasso Tool and then stroked a green line on the outside of the marque. Hopefully, this will better explain my original post.

I know how to use guides and am familiar with the various Marque tools in AF2 Photo, I just can't find a way to "stroke" them. I am not looking to fill the shapes, just outline them.

image.jpeg.d019bf012a3e4f58bd2a58347e2a9065.jpeg

image.jpeg.7475a6d82f5cf2b3f074309c359e5c23.jpeg

image.jpeg.8c4410eb6a7199f661c217110c287ba0.jpeg

image.jpeg.23196fea62a7d515b6fa9248a53c0491.jpeg

Link to comment
Share on other sites

18 hours ago, David in Яuislip said:

You need to use Select/Outline then fill the gap. Far too tedious so I wrote a macro
It's not as versatile as Photoshop, you can't choose inside/centre/outside as that is frozen during macro recording and was set to outside but it does what I need

StrokeSelection.afmacro 880 B · 1 download

David, I am not familiar enough with AF 2 Photo to know where to place the macro or how to use it. Would it be too much to ask where I can get more info on the process, please?

Link to comment
Share on other sites

3 hours ago, Ralph Tomaccio said:

David, I am not familiar enough with AF 2 Photo to know where to place the macro or how to use it. Would it be too much to ask where I can get more info on the process, please?

I’m not David (obviously!) but I think the Help tells you everything you need to know.

Affinity Photo 2 Help: 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.4.1 (iPad 7th gen)

Link to comment
Share on other sites

3 hours ago, Ralph Tomaccio said:

I made a simple example

Thanks for supplying extra information.

For regular shapes (e.g. rectangle, ellipse, and such forth) I would probably just use a Quick Shape (e.g. Rectangle Tool) instead of messing around with selections.

For irregular shapes I would probably use a variant of what I show in my attached video using a Spare Channel, which I suspect could be what David’s macro does. (Make sure that the first selection is smaller than the second selection so it can be subtracted.)

Link to comment
Share on other sites

10 minutes ago, GarryP said:

For irregular shapes I would probably use a variant of what I show in my attached video using a Spare Channel, which I suspect could be what David’s macro does. (Make sure that the first selection is smaller than the second selection so it can be subtracted.)

Instead of subtracting one selection from another, you can choose the ‘Outline…’ option on the Select menu.

Affinity Photo 2 Help: Creating outline selections

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

Link to comment
Share on other sites

4 hours ago, Ralph Tomaccio said:

David, I am not familiar enough with AF 2 Photo to know where to place the macro or how to use it. Would it be too much to ask where I can get more info on the process, please?

Start with the Help. It might be a bit cryptic on first read but keep at it
The Macro panel handles .afmacro files containing a single macro
The Library panel handles .afmacros files containing multiple macros
I keep the Library panel available next to the Histogram/Colour/Brushes. If I need a Macro panel, I click on the Library then right click on any macro and choose Edit
You need a Macro panel open, click the Import icon on the right. Once it's imported click the Add to Library icon

As stated above, you can't choose inside/centre/outside, to achieve that you'd need three macros

strokes.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

Link to comment
Share on other sites

Isn’t outline selection the tool that does the trick?

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

12 minutes ago, NotMyFault said:

Isn’t outline selection the tool that does the trick?

 

18 minutes ago, GarryP said:

I forgot about the Outline functionality which Alfred mentioned later.


 

36 minutes ago, Alfred said:

Instead of subtracting one selection from another, you can choose the ‘Outline…’ option on the Select menu.

Affinity Photo 2 Help: Creating outline selections

 

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

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.
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.