DannyBCreative Posted June 12, 2022 Posted June 12, 2022 I can't seem to find any info on this and so far I can't get it to work, so I'm going to presume it's not possible, but.... If someone can enlighten me, I'd be happy to be wrong. Is it possible to copy an image into a single RGB channel as you can do in Photoshop? To be specific, I want to copy three separate texture images into the Red, Green and Blue channels (one for each). In Photoshop this can easily be done, and I was hoping it could also be done in AP, but so far I can't make it happen. Any help would be great! Thanks! Quote
ac-13 Posted June 12, 2022 Posted June 12, 2022 Among the original set of Affinity Photo tutorials, there were several on the subject of Channels. The tutorial on Channel Packing might be helpful for your query. https://forum.affinity.serif.com/index.php?/topic/10119-legacy-official-affinity-photo-desktop-video-tutorials/&do=findComment&comment=43458 Quote
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 1 hour ago, ac-13 said: Among the original set of Affinity Photo tutorials, there were several on the subject of Channels. The tutorial on Channel Packing might be helpful for your query. https://forum.affinity.serif.com/index.php?/topic/10119-legacy-official-affinity-photo-desktop-video-tutorials/&do=findComment&comment=43458 Thank you, this is useful. Though it does sort of work, I wonder if there is a shorter workflow. For example, in PS, it's literally copy/paste and you're done. I copy the image (in full color, not greyscale) from one document and just paste it into the desired channel. I then repeat that for the remaining two channels and I'm done. This AP workflow seems a bit wonky, though I am happy to know it's possible. I'm not getting the same result as I do in PS, but I'll keep investigating. Thanks again! Quote
Lisbon Posted June 12, 2022 Posted June 12, 2022 7 hours ago, DannyBCreative said: I want to copy three separate texture images into the Red, Green and Blue channels (one for each) One possible way: 1) Load the 3 images into a stack (File > New stack) 2) Ungroup the stack (Ctrl+Shift+G) and sort the layers so that, from top to bottom you have Red, Green and Blue corresponding layers 3) Run a macro to merge the layers Merge RGB to Layer.afmacros Quote
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 I'll post a video showing the workflow in Photoshop, which demonstrates what I'm trying to do. Hopefully this will explain it better. Quote
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 1 hour ago, jaedee said: Thank you, but this is not what I'm trying to do. I'll post a video that will hopefully better explain my goal. Quote
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 I made a video which shows the process in Photoshop. I hope this better explains what I'm trying to do in AP. Thanks! channel_packing_PS.mp4 Quote
walt.farrell Posted June 12, 2022 Posted June 12, 2022 28 minutes ago, DannyBCreative said: I made a video which shows the process in Photoshop. I hope this better explains what I'm trying to do in AP. I'm afraid that in Photo you do it like James showed in the legacy Channel Packing tutorial. The section roughly 6 minutes in may show the simplest approach. Quote -- 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.4
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 4 minutes ago, walt.farrell said: I'm afraid that in Photo you do it like James showed in the legacy Channel Packing tutorial. The section roughly 6 minutes in may show the simplest approach. Thank you Walt. This was my fear as well, though I was really hoping that I was missing something. I'm trying so hard to replace PS with AP in my workflow this year, but I keep running into small brick walls. Although they're small, they tend to add up. Still holding on to hope though. Quote
Lisbon Posted June 12, 2022 Posted June 12, 2022 1 hour ago, DannyBCreative said: I made a video which shows the process in Photoshop. I hope this better explains what I'm trying to do in AP. I never imagined that you were trying to merge images with different aspect ratios. My method is a completely different workflow, but the end result certainly looks close to Photoshop. Quote
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 16 minutes ago, Lisbon said: I never imagined that you were trying to merge images with different aspect ratios. My method is a completely different workflow, but the end result certainly looks close to Photoshop. The aspect ratio is really not important for the source images and only matters for the final output. My main image has a square aspect ratio, in this case @ 2k resolution. I'm only copying the textures into the channels of the square image to produce a dirt map, so the more chaotic, the better. Using the video that James made on channel packing, I was able to achieve a similar result, but the process takes considerably longer and has more steps, which is what I was hoping could be condensed. That said, what is your method? Quote
Lisbon Posted June 12, 2022 Posted June 12, 2022 2 hours ago, DannyBCreative said: That said, what is your method? 1) Load the 3 images into a stack (File > New stack) Uncheck all boxes regarding alignment. 2) Ungroup the stack (Ctrl+Shift+G) and sort the layers so that, from top to bottom you have Red, Green and Blue corresponding layers At this point, you can align your layers. I used the align options provided by the move tool. 3) Run the macro that i provided previously. 4) Crop This was my final result. Hope it helps. Quote
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 Not bad. Thanks! I noticed that there are 14 steps in the macro and that you use the procedural color filter. Would you mind explaining the process in a bit more detail? I like how it works, but ya gotta admit, without the macro (which is great) this would be a lengthy process. Still, I'd like to know more about how you came up with this. Quote
Lisbon Posted June 12, 2022 Posted June 12, 2022 Certainly Danny. 16 hours ago, DannyBCreative said: I copy the image (in full color, not greyscale) from one document and just paste it into the desired channel. The only way you can paste a color image (3 channels) on a single channel is by removing its color. If you remove the color you end up with just the lumminosity. The command for luminosity is rgbtoi(R,G,B). Lets apply a procedural texture to the "Red layer". Note that i replaced the red channel with the luminosity of the "red layer" and the green and blue channel with white (Value 1). For the "Green Layer" the procedural texture will look like this. Notice that there is a pattern. For the respective channel (Green layer > Green Channel) i fill with luminosity. The rest I fill with ones (pure white). I will skip the blue channel. Now, if you change the blending mode of the red and green layers to multiply you will get: After this you just have to merge the 3 layers. To summarize, the macro applies a procedural texture to the 3 layers. Changes the blending mode of the first two to multiply and merges all layers. Hope this makes sence. NotMyFault and RichardMH 2 Quote
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 Thank you. Wow, this is wild. I have never used the procedural texture, how did you even know what this formula was? This is great, but so complicated, how or where does one go to learn what these commands are? Thanks again for this explanation, or voodoo... whichever fits best. Quote
Lisbon Posted June 12, 2022 Posted June 12, 2022 15 minutes ago, DannyBCreative said: how did you even know what this formula was? I learned this formula here on the forum through another user ( @NotMyFault ) 17 minutes ago, DannyBCreative said: This is great, but so complicated I agree. It requires a little patience. 18 minutes ago, DannyBCreative said: how or where does one go to learn what these commands are? There is the help file. But, unfortunately, the help file is not complete. There are commands that do not have any description. NotMyFault 1 Quote
DannyBCreative Posted June 12, 2022 Author Posted June 12, 2022 Thank you for all of this. Although what you've provided is amazing, I'm a little concerned at the lack of documentation about these tools. I mean, if Serif wants AP to compete with the "industry standard" alternative, these things need to be taken into consideration. I think AP is great, and has some nice features that Adobe can learn from, for sure, but PS sill remains significantly more efficient and that can make or beak an experience. Thanks again, really amazing work. Lisbon 1 Quote
RichardMH Posted June 12, 2022 Posted June 12, 2022 You can also do something similar to the above using Apply Image. Lisbon 1 Quote
Lisbon Posted June 12, 2022 Posted June 12, 2022 17 minutes ago, DannyBCreative said: Thank you for all of this. Although what you've provided is amazing, I'm a little concerned at the lack of documentation about these tools. I mean, if Serif wants AP to compete with the "industry standard" alternative, these things need to be taken into consideration. I think AP is great, and has some nice features that Adobe can learn from, for sure, but PS sill remains significantly more efficient and that can make or beak an experience. Thanks again, really amazing work. Youre welcome Danny. Quote
NotMyFault Posted June 13, 2022 Posted June 13, 2022 There is a simpler non-destructive method possible Place first image into file. add channel mixer with settings: red 100%, green 0, blue 0 (only letting red, knocks out green/blue to 0) place 2nd image, set blend mode to add add nested channel mixer, filter green add 3rd image, set BM to add, add nested CM, filter blue adjust images (size, rotation, …) if needed merge visible when happy with result you may need to group the individual images to get BM correct. allows you to stretch / adjust every stock image with live preview of final result color formats will be automatically converted to target document works in all Apps (Designer, Publisher) and on iPad no macros required In Photo, you can save presets for the channel mixer adjustment to speed up usage. note: this recipe does not include rgbtoi, but the weights can be set in channel mixer accordingly to achieve same result. walt.farrell and Lisbon 2 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted June 13, 2022 Posted June 13, 2022 i just checked, rgbtoi uses ITU-R 601 for conversion Y′=0.299R′+0.587G′+0.114B′ use these factors to convert colored source images into greyscale Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
DannyBCreative Posted June 13, 2022 Author Posted June 13, 2022 Thank you, @NotMyFault but I wasn't able to make this work with your explanation. Perhaps I misread something. That said, I find this process in AP to be a bit overly complicated, and the lack of documentation on tools in the app is concerning. Although I appreciate all the help in this forum, the fact that users need to rely on forums to get secret information, commands, or instructions on how to use tools or achieve results that are so easily achieved in PS just reinforces the notion that AP is not ready for prime time yet. It's a major delay to have to not only look these things up in a forum, but when the solution takes a considerable amount of time and complexity, this slows production, and ultimately hurts business. I'm holding on to hope, but this year looks like it won't be the year I move it all over to AP. Maybe next year. Thanks again for the suggestion. I do appreciate your time. Quote
NotMyFault Posted June 13, 2022 Posted June 13, 2022 Attached you find an example with 3 images packed into RGB channels, using the rgbtoi factors. You see a women, a boy, a pole in the channels. took me 3 minutes to create. Screenshot differs from final result, using different weight factors. channek packing w 601 factors.afphoto Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
NotMyFault Posted June 13, 2022 Posted June 13, 2022 1 hour ago, DannyBCreative said: That said, I find this process in AP to be a bit overly complicated, and the lack of documentation on tools in the app is concerning. Well, there are often multiple ways, and it could take many tries to find the best one. My recipe was from memory, without time to test it and eliminate redundant steps. Once you apply it to the first channel, it is almost mechanical, easy to remember and apply to the other channels. i agree that AP requires a steep learning curve, especially coming from PS. But using this as argument against AP is a bit unfair: switching from AP to PS would cause similar pain. And a big plus for AP is the great forum who reacts really fast in most cases. So I would be happy to have you with us 😉 Quote Mac mini M1 A2348 | MBP M3 Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K 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. I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.
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.