Florida Posted July 13, 2023 Share Posted July 13, 2023 I tested some code implementing color blends matching Photoshop and AP I found an inconsistency in AP for Color Dodge. If you have two Fill layers, one pure red (255,0,0) and one black (0,0,0) and use Color Dodge, you get pure red as per the math. If you have two Pixel layers, one pure red (255,0,0) and one black (0,0,0) and use Color Dodge, you get pure black which is wrong. I have a document that shows this issue, but for some reason, the Upload Files fails on the AP document (error 200). Mac OS 13.4.1 (c) (22F770820d) AP 2.1.1 on an M1 Ultra Mac Studio color dodge bug.afphoto Quote Device: Apple M1 Ultra 64GB Ventura 13.0.1 Apple Studio Display - Andrew Link to comment Share on other sites More sharing options...
Staff Callum Posted July 13, 2023 Staff Share Posted July 13, 2023 Hi Florida, Unfortunately I can't seem to download the file you attached to this post please could you try re-uploading it? Thanks C Quote Please tag me using @ in your reply so I can be sure to respond ASAP. Link to comment Share on other sites More sharing options...
Old Bruce Posted July 13, 2023 Share Posted July 13, 2023 Big difference here on Mac OS 11.7 with the Red Layer being 254 versus 255 and set to Colour Dodge and above the Black Layer. At 255 At 254 Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that. Link to comment Share on other sites More sharing options...
Florida Posted July 13, 2023 Author Share Posted July 13, 2023 It won't let me upload for some reason. "Sorry, an unknown server error occurred when uploading this file. (Error code: -200)" However, I compressed the file and it uploaded ok. color dodge bug.zip Quote Device: Apple M1 Ultra 64GB Ventura 13.0.1 Apple Studio Display - Andrew Link to comment Share on other sites More sharing options...
Florida Posted July 13, 2023 Author Share Posted July 13, 2023 Quote Device: Apple M1 Ultra 64GB Ventura 13.0.1 Apple Studio Display - Andrew Link to comment Share on other sites More sharing options...
Hangman Posted July 13, 2023 Share Posted July 13, 2023 For me, with the file you uploaded, in the v2.2.0 Beta, I see Red... Quote Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861 MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse Link to comment Share on other sites More sharing options...
Florida Posted July 13, 2023 Author Share Posted July 13, 2023 Maybe they fixed it. Note I found this result on an M1 Ultra on the latest MacOS, so maybe it's a hardware-or-OS-dependent bug. In my test case (a wide variety of red shades) every one matched my result except this 255 vs 0 case. Hangman 1 Quote Device: Apple M1 Ultra 64GB Ventura 13.0.1 Apple Studio Display - Andrew Link to comment Share on other sites More sharing options...
walt.farrell Posted July 18, 2023 Share Posted July 18, 2023 On 7/13/2023 at 1:35 PM, Hangman said: For me, with the file you uploaded, in the v2.2.0 Beta, I see Red... On Windows, in either 2.1.0 or 2.2.0.1903 Beta, I see Black. 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.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
Hangman Posted July 18, 2023 Share Posted July 18, 2023 1 hour ago, walt.farrell said: On Windows, in either 2.1.0 or 2.2.0.1903 Beta, I see Black. When the file is saved with only the Pixel layers visible, how does the thumbnail appear in Windows Explorer, Black or Red? On macOS, the Finder also shows it as Red... Quote Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861 MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse Link to comment Share on other sites More sharing options...
walt.farrell Posted July 18, 2023 Share Posted July 18, 2023 3 hours ago, Hangman said: When the file is saved with only the Pixel layers visible, how does the thumbnail appear in Windows Explorer, Black or Red? On macOS, the Finder also shows it as Red... Black in File Explorer. 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.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
Hangman Posted July 19, 2023 Share Posted July 19, 2023 19 hours ago, walt.farrell said: Black in File Explorer. Curiouser and curiouser... What do you see in these two instances... Color Dodge.mp4 Colour Dodge and Burn.afphoto Quote Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861 MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse Link to comment Share on other sites More sharing options...
walt.farrell Posted July 19, 2023 Share Posted July 19, 2023 2 minutes ago, Hangman said: What do you see in these two instances... Screenshot from 2.2 Beta: Raster: Vector is the same. 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.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
Hangman Posted July 19, 2023 Share Posted July 19, 2023 In which case, I'm at a loss then as to why when using solid colours you see black on Windows instead of red although looking at your screengrab, is it fair to say there is a black vertical line to the very left and a red vertical line to the right in both instances or is this just down to anti-aliasing? Quote Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5 Affinity Designer Beta 2.6.0.2861 | Affinity Photo Beta 2.6.0.2861 | Affinity Publisher Beta 2.6.0.2861 MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse Link to comment Share on other sites More sharing options...
walt.farrell Posted July 19, 2023 Share Posted July 19, 2023 4 minutes ago, Hangman said: is it fair to say there is a black vertical line to the very left and a red vertical line to the right in both instances or is this just down to anti-aliasing? Here's a better screenshot; I didn't have snapping enabled last time. Hangman 1 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.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1 Link to comment Share on other sites More sharing options...
Florida Posted July 19, 2023 Author Share Posted July 19, 2023 I wonder if Affinity built its own blend methods or if it uses native ones on Mac vs Windows. Apple's Core Image does all the blends that Affinity needs (plus a ton of other image processing features). Photoshop seems to do its own cross-platform thing, as far as I can tell. Using platform libraries could explain slight differences, while writing your own instead could have unique bugs as well. Quote Device: Apple M1 Ultra 64GB Ventura 13.0.1 Apple Studio Display - Andrew 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.