Arini R Posted January 29, 2022 Share Posted January 29, 2022 Hi everyone, I want to create some batch job to create pattern background by doing the action "New Pattern Layer from Selection" based on the image. The input is png images. So I do macro recording by unlocking the layer and doing the action to create pattern layer from selection. My problem is when I applied it to other files, the pattern is not changing based on the image inside. It's using the same image that I used for macro recording instead. So all the output images is the same. Is this a bug? and Is there any workaround to get my desired result (the pattern is based on the image input to the batch job)? Thank you in advance! Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted January 29, 2022 Share Posted January 29, 2022 It's probably just another example of the way that Affinity macros work. They often record the results of an action, not the action itself. For example, if you used Edit > Copy you would have whatever you copied "baked" into the macro permanently. This sounds like the same kind of thing. Arini R and Callum 1 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
Arini R Posted January 30, 2022 Author Share Posted January 30, 2022 Thanks for the reply @walt.farrell. So, is there any workaround to do what I want with AP? (Batch generate pattern background from images input) Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted January 31, 2022 Share Posted January 31, 2022 Sorry, I have no idea if there's a way to do what you want. Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1 Link to comment Share on other sites More sharing options...
carl123 Posted January 31, 2022 Share Posted January 31, 2022 The basics... Create an empty pattern layer (Layer > New Patten Layer) In the image make a selection and control J to duplicate the selection onto a new layer Center the new layer in the document Move new layer above pattern layer Merge down new layer into pattern layer The problem... Will probably only work on same size or very similar sized images Too many questions/variables in your workflow to create the macro for you Arini R 1 Quote To save time I am currently using an automated AI to reply to some posts on this forum. If any of "my" posts are wrong or appear to be total b*ll*cks they are the ones generated by the AI. If correct they were probably mine. I apologise for any mistakes made by my AI - I'm sure it will improve with time. Link to comment Share on other sites More sharing options...
Arini R Posted February 24, 2022 Author Share Posted February 24, 2022 On 1/31/2022 at 6:43 PM, carl123 said: The basics... Create an empty pattern layer (Layer > New Patten Layer) In the image make a selection and control J to duplicate the selection onto a new layer Center the new layer in the document Move new layer above pattern layer Merge down new layer into pattern layer The problem... Will probably only work on same size or very similar sized images Too many questions/variables in your workflow to create the macro for you I've tried and it works! thanks @carl123 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.