Jump to content
Paul Mudditt

Mud’s Macros - Expand Stroke

Recommended Posts

On one of the Facebook groups, David Williams set me an accidental challenge by mentioning Expand Stroke was a function only available in Affinity Designer.
Well now you can use Expand Stroke in Affinity Photo on all platforms by importing my Mud’s Macros library.
To create this I needed to record a macro, which is only available in AP. The command I needed was in AD so how to get it?
I started in Affinity Publisher on desktop with a blank document, changed to AP persona and started record, then changed to AD persona and performed Expand Stroke from the menu, then switched back to Photo persona and ended the recording. Simples, eventually !

Mud’s Macros V3

SelectionFromLayer - convert a layer into a pixel selection
SelectAllLayers - select all layers quickly
DeSelectAllLayers - de select all layers quickly
PencilPortrait - Convert Photo to pencil sketch (Credit: Alpha Sierra, YouTube)
InpaintCrop2 - fix edges after a straighten crop (Credit: Jim Welsh)
Inpaint - the inpaint option from the desktop.
ExpandStroke - Expand Stroke from Designer 
TextOnCurve - Text on a curve path from Designer
And here it is in action on iPad, but the macro also works on desktop versions of Photo as well.

 

Mud's Macros V3.afmacros


Affinity Photo 1.8, Designer 1.8, Publisher 1.8 on MACOS Catalina and Windows 10.
Affinity Photo 1.8, Designer 1.8 on iPad Pro 9.7" iPadOS 13.5 beta.

https://www.facebook.com/groups/affinityforipad/

https://www.facebook.com/groups/AffinityPhoto/

 

Share this post


Link to post
Share on other sites

Clever use of the Personas.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.3.641 and 1.8.4.693 Beta   / Affinity Designer 1.8.3.641 and 1.8.4.693 Beta  / Affinity Publisher 1.8.3.641 and 1.8.4.687 Beta.

Share this post


Link to post
Share on other sites
3 hours ago, walt.farrell said:

Clever use of the Personas.

Thanks Walt, I had a fair idea it would likely work because of the common core engine, it also offers a method to enhance all three packages with macro actions too.


Affinity Photo 1.8, Designer 1.8, Publisher 1.8 on MACOS Catalina and Windows 10.
Affinity Photo 1.8, Designer 1.8 on iPad Pro 9.7" iPadOS 13.5 beta.

https://www.facebook.com/groups/affinityforipad/

https://www.facebook.com/groups/AffinityPhoto/

 

Share this post


Link to post
Share on other sites

Nice one Paul! :D


IPad Pro 10.5/512GB   lpadOS 13.5.1  Apple Pencil (1st gen), Affinity Photo 1.8.3 .180,  Affinity Design 1.8.3.2, Publisher for iPad (21st century)

Share this post


Link to post
Share on other sites
On 7/16/2019 at 12:11 AM, Paul Mudditt said:

On one of the Facebook groups, David Williams set me an accidental challenge by mentioning Expand Stroke was a function only available in Affinity Designer.
Well now you can use Expand Stroke in Affinity Photo on all platforms by importing my Mud’s Macros V2 library.
To create this I needed to record a macro, which is only available in AP. The command I needed was in AD so how to get it?
I started in Affinity Publisher on desktop with a blank document, changed to AP persona and started record, then changed to AD persona and performed Expand Stroke from the menu, then switched back to Photo persona and ended the recording. Simples, eventually !

Mud’s Macros V2

SelectionFromLayer - convert a layer into a pixel selection
SelectAllLayers - select all layers quickly
DeSelectAllLayers - de select all layers quickly
PencilPortrait - Convert Photo to pencil sketch (Credit: Alpha Sierra, YouTube)
InpaintCrop2 - fix edges after a straighten crop (Credit: Jim Welsh)
Inpaint - the inpaint option from the desktop.
ExpandStroke - Expand Stroke from Designer 

And here it is in action on iPad, but the macro also works on desktop versions of Photo as well.

Mud's Macros V2.afmacros

Paul, this is a brilliant idea. It could also be applied to ‘text on a curve’ something sadly lacking in Photo it seems.

Thanks for the heads up. Now to attempt the macro. Which I’ve never done!
 

-Robert

Share this post


Link to post
Share on other sites
On 10/4/2019 at 8:22 AM, HarryMcGovern said:

Paul, this is a brilliant idea. It could also be applied to ‘text on a curve’ something sadly lacking in Photo it seems.

Thanks for the heads up. Now to attempt the macro. Which I’ve never done!
 

-Robert

TextOnCurve added to V3.

Mud’s Macros V3

SelectionFromLayer - convert a layer into a pixel selection
SelectAllLayers - select all layers quickly
DeSelectAllLayers - de select all layers quickly
PencilPortrait - Convert Photo to pencil sketch (Credit: Alpha Sierra, YouTube)
InpaintCrop2 - fix edges after a straighten crop (Credit: Jim Welsh)
Inpaint - the inpaint option from the desktop.
Sketch Effect by R C-R - Converts to a sketch effect
Dave’s 6-Layer High Pass Sharpening - Uses 6 layers of sharpening
ExpandStroke - Expand Stroke from Designer 
TextOnCurve - Text on Curve from Designer

Mud's Macros V3.afmacros


Affinity Photo 1.8, Designer 1.8, Publisher 1.8 on MACOS Catalina and Windows 10.
Affinity Photo 1.8, Designer 1.8 on iPad Pro 9.7" iPadOS 13.5 beta.

https://www.facebook.com/groups/affinityforipad/

https://www.facebook.com/groups/AffinityPhoto/

 

Share this post


Link to post
Share on other sites
On 10/4/2019 at 7:46 PM, Paul Mudditt said:

TextOnCurve added to V3.

Any idea why (in Photo) the text is flipped and mirrored? Just asking, it's not really an issue, because when text is being replaced it looks fine.

006 2019-10-12, 10_40_08.jpg


Affinity Photo  1.8.0.585   -  Beta 1.8.0.555

Windows 10 Home  1909 (build 18363.657) - 64 bit processor - AMD A4-5000 APU with Radeon HD Graphics  1.50GHz - RAM 8,00 GB
Calibrated Monitor (Datacolor Spyder5 Pro)

 

Share this post


Link to post
Share on other sites
30 minutes ago, HVDB Photography said:

Any idea why (in Photo) the text is flipped and mirrored? Just asking, it's not really an issue, because when text is being replaced it looks fine.

006 2019-10-12, 10_40_08.jpg

A curve has a start and a finish, so you must have drawn this right to left or possibly flipped it perhaps?

Images below from iPad but same can be achieved on desktop.

ACE8FC07-637B-4FE6-B37D-3CD84A9DBD6F.jpeg


Affinity Photo 1.8, Designer 1.8, Publisher 1.8 on MACOS Catalina and Windows 10.
Affinity Photo 1.8, Designer 1.8 on iPad Pro 9.7" iPadOS 13.5 beta.

https://www.facebook.com/groups/affinityforipad/

https://www.facebook.com/groups/AffinityPhoto/

 

Share this post


Link to post
Share on other sites
4 hours ago, Paul Mudditt said:

A curve has a start and a finish, so you must have drawn this right to left or possibly flipped it perhaps?

Images below from iPad but same can be achieved on desktop.

ACE8FC07-637B-4FE6-B37D-3CD84A9DBD6F.jpeg

evroc a no txet  ... It sounds like R2D2 spoke that line...

Share this post


Link to post
Share on other sites
8 hours ago, Paul Mudditt said:

A curve has a start and a finish

I know

3 hours ago, HarryMcGovern said:

so you must have drawn this right to left or possibly flipped it perhaps?

Didn't touch anything. It appears that way straight after the macro was executed ...


Affinity Photo  1.8.0.585   -  Beta 1.8.0.555

Windows 10 Home  1909 (build 18363.657) - 64 bit processor - AMD A4-5000 APU with Radeon HD Graphics  1.50GHz - RAM 8,00 GB
Calibrated Monitor (Datacolor Spyder5 Pro)

 

Share this post


Link to post
Share on other sites

@HVDB PhotographyMust admit I hadn’t noticed that, whilst testing I concentrated on drawing Circles to add text.

It’s the same on iPad too.

Had a quick play with re-recording the macro but could not alter this behaviour. Please just adjust by moving the red and green sliders around.


Affinity Photo 1.8, Designer 1.8, Publisher 1.8 on MACOS Catalina and Windows 10.
Affinity Photo 1.8, Designer 1.8 on iPad Pro 9.7" iPadOS 13.5 beta.

https://www.facebook.com/groups/affinityforipad/

https://www.facebook.com/groups/AffinityPhoto/

 

Share this post


Link to post
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

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | 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.