gkulka Posted October 14, 2017 Share Posted October 14, 2017 Hi, Is there a way to have border in macro which will be +100px to current image size ? How to define that ? Regards, Greg Quote Regards, Greg Link to comment Share on other sites More sharing options...
Mensch Mesch Posted October 14, 2017 Share Posted October 14, 2017 Hi @gkulka! May be this tutorial in German will help you Makro aufzeichnen a bit. Norbert Quote Find me on YouTube | Mensch Mesch | MeWe | Twitter | Pinterest iMac27 5k 32 GB, MacBook Pro M1 | macOS 12.1 | iPad Pro2 | iOS 15.2 Affinity Designer 1.10.5 [macOS & iOS] | Affinity Photo 1.10.5 [macOS & iOS] | Affinity Publisher 1.10.5 Link to comment Share on other sites More sharing options...
gkulka Posted October 14, 2017 Author Share Posted October 14, 2017 Hi @Mensch Mesch Thanks for hint, but this is no quite what I had in mind. This tut shows how to add frame over the picture. I need to extend canvas size. i.e. original 2048x1536 and macro will add +100px to width and high, fill it white and punt my signature on frame. I can create one for most popular picture dimension i use, but it will be quite a task. Any idea how to approach it ? Greg Quote Regards, Greg Link to comment Share on other sites More sharing options...
Mensch Mesch Posted October 15, 2017 Share Posted October 15, 2017 Hi @gkulka, AFAIK Affinity Photo can't read and operate with any values like width or height yet. Quote Find me on YouTube | Mensch Mesch | MeWe | Twitter | Pinterest iMac27 5k 32 GB, MacBook Pro M1 | macOS 12.1 | iPad Pro2 | iOS 15.2 Affinity Designer 1.10.5 [macOS & iOS] | Affinity Photo 1.10.5 [macOS & iOS] | Affinity Publisher 1.10.5 Link to comment Share on other sites More sharing options...
gkulka Posted October 25, 2017 Author Share Posted October 25, 2017 Hi @Mensch Mesch Sorry for late reply, I was sick.You can use values . All is in official Affinity documentation. Check on below links. https://affinity.help/photo/English.lproj/index.html Quote Regards, Greg Link to comment Share on other sites More sharing options...
Mensch Mesch Posted October 29, 2017 Share Posted October 29, 2017 Thanks for your reply @gkulka! Can you use these values/equations in macros? Quote Find me on YouTube | Mensch Mesch | MeWe | Twitter | Pinterest iMac27 5k 32 GB, MacBook Pro M1 | macOS 12.1 | iPad Pro2 | iOS 15.2 Affinity Designer 1.10.5 [macOS & iOS] | Affinity Photo 1.10.5 [macOS & iOS] | Affinity Publisher 1.10.5 Link to comment Share on other sites More sharing options...
gkulka Posted October 30, 2017 Author Share Posted October 30, 2017 Hi, Yes, you can use while recording macro. Avaliable selections are mentioned in help file. https://affinity.help/photo/English.lproj/index.html Workspace-->More-->Expressions for field input. Quote Regards, Greg Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 18, 2017 Share Posted December 18, 2017 On 25/10/2017 at 8:32 PM, gkulka said: Quote Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 18, 2017 Share Posted December 18, 2017 @gkulka How can you make a border around the pic with this equations? Am trying the trial for the moment and am not familiar wit Affinity. In Photoshop is very easy to do by creating an action so I can ad any border in one time on a whole map of photos. I can't find this in Affinity photo or is their something I can do? Thanks in advance Quote Link to comment Share on other sites More sharing options...
gkulka Posted December 18, 2017 Author Share Posted December 18, 2017 @PhilippeVDD While you record macro, create new layer, move it to back "CTRL+SHIFT+[" (not in layers panel). Than select top layer, go to Transform panel, select center point and in width(or height) input box type "X-100". This will make layer 100px smaller on selected dimension Quote Regards, Greg Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 18, 2017 Share Posted December 18, 2017 Great, will try it tomorrow Thanks @gkulka Quote Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 19, 2017 Share Posted December 19, 2017 @gkulka the shortcut " CTRL+SHIFT+[ " is not working in Windows 10! Maybe because is an Azerty keybord Problem, problem, problem ..... Quote Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 19, 2017 Share Posted December 19, 2017 @gkulka changed temporarly to Querty and shortcut is working Quote Link to comment Share on other sites More sharing options...
gkulka Posted December 19, 2017 Author Share Posted December 19, 2017 @PhilippeVDD Change keyboard to Azerty and check Arrange menu on top - shortcuts are there. Quote Regards, Greg Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 19, 2017 Share Posted December 19, 2017 That is what I did @gkulka But is not efficient for borders, in photoshop you can create an action and on each different sized pic the border will work, not in Affinity Thanks for the help and greetings from Belgium Quote Link to comment Share on other sites More sharing options...
gkulka Posted December 19, 2017 Author Share Posted December 19, 2017 @PhilippeVDD Why not? Once you finish recording macro, you can use it in Batch Processing on multiple images. Check File menu. Quote Regards, Greg Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 19, 2017 Share Posted December 19, 2017 I will try it and let you know. But I think on a horizontal picture it will work but not on a vertical pcture. We will see Sorry for my english, am flemish. Quote Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 20, 2017 Share Posted December 20, 2017 Hi @gkulka, just what I tought! When it is a vertical or panorama its not working! But I can make macros for vertical and horizontal photos and do the panoramas pic by pic Thanks for the help Here the examples Quote Link to comment Share on other sites More sharing options...
gkulka Posted December 20, 2017 Author Share Posted December 20, 2017 @PhilippeVDD This is because you have aspect ratio locked. Than, when you make x+100, it calculates y+1000. If you want to have i.e. 100px frame[regardles photo size or standard print format], just add +100px to both dimentions to solid layer without aspect ratio locked. Than move solid layer back. Quote Regards, Greg Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 20, 2017 Share Posted December 20, 2017 @gkulka Ok, I try again Quote Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 20, 2017 Share Posted December 20, 2017 @gkulka notting change aspect ratio not locked, in attach the macro (100 pixel border) I exported. Maybe that can help. Default.afmacros Quote Link to comment Share on other sites More sharing options...
gkulka Posted December 20, 2017 Author Share Posted December 20, 2017 Ok. I think I know where the problem is. Above I wrote what I had in mind, not actually referring to correct variables. With X+100, I was referring to width, while X is used as position, same with Y. Sorry about that. You should be using W and H for width and height without aspect ratio. Below will shrink width of picture layer by 100px. Quote Regards, Greg Link to comment Share on other sites More sharing options...
PhilippeVDD Posted December 20, 2017 Share Posted December 20, 2017 @gkulka thats what I did! Try it yourself, if you have different sizes of images in one batch proces, or standing images it will not work. In photoshop it works for me. Quote Link to comment Share on other sites More sharing options...
A.Mason Posted February 1, 2019 Share Posted February 1, 2019 Is possible to make macro to do border around image with function like this? w=w+(Max(w,h)*0.1) h=h+(Max(w,h)*0.1) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.