NotMyFault Posted September 28, 2021 Share Posted September 28, 2021 (edited) In iPad, the export preview renders completely wrong. It shows a full green/red/blue layer depending on position of the pattern layer. To reproduce: open attached file goto export>png>preview 1/4 size preview is show in one primary color. if you use move tool to shift pattern layer by 1 in x or y position, the preview color changes to another primary color it seems the preview does a sub-sampling and uses only pixels with odd x/y position for preview same file renders correctly on Windows (muddy gray) Update: The file "preview 4" shows the 4 possible alignments in the 4 quadrants of a single document. export previw wrong ipad.afphoto ipad export preview 4.afphoto Edited September 28, 2021 by NotMyFault Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 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. Link to comment Share on other sites More sharing options...
Paul Mudditt Posted September 28, 2021 Share Posted September 28, 2021 24 minutes ago, NotMyFault said: In iPad, the export preview renders completely wrong. It shows a full green/red/blue layer depending on position of the pattern layer. To reproduce: open attached file goto export>png>preview 1/4 size preview is show in one primary color. if you use move tool to shift pattern layer by 1 in x or y position, the preview color changes to another primary color it seems the preview does a sub-sampling and uses only pixels with odd x/y position for preview same file renders correctly on Windows (muddy gray) export previw wrong ipad.afphoto 44.17 kB · 1 download Yes looks just like anti-aliasing/under sampling below Nyquist-Shannon frequency which is basic physics occurring as the reduced size image is rendered, don’t think this could be classed as a bug more a feature of your image and how it was constructed, same effect happens if you resize the document as shown. Important factor is the actual exported file is correct. IMG_0484.MP4 Quote My dad always told me, a bad workman always blames their tools…. Just waiting for Ronny Pickering….. Affinity Photo, Designer, Publisher 1.10 and 2.4 on macOS Sonoma 14 on M1 Mac Mini 16GB 1TB Affinity Photo, Designer, Publisher 1.10 and 2.4 on Windows 10 Pro. Deceased Affinity Photo, Designer, Publisher 2.4 on M1 iPad Pro 11” on iPadOS 17.4 https://www.facebook.com/groups/AffinityForiPad https://www.facebook.com/groups/AffinityPhoto/ The hardest link to find https://affinity.help Link to comment Share on other sites More sharing options...
NotMyFault Posted September 28, 2021 Author Share Posted September 28, 2021 (edited) 1 hour ago, NotMyFault said: same file renders correctly on Windows (muddy gray) You may have overlooked that sentence. On Windows the rendering is correct. So it is Possible to do it correctly Photo’s behavior differs between OS platforms. This facts lead to my conclusion that it is a bug. Image: Preview on Windows renders correctly Edited September 28, 2021 by NotMyFault added Windows for comparison Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 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. Link to comment Share on other sites More sharing options...
NotMyFault Posted September 28, 2021 Author Share Posted September 28, 2021 @Paul Mudditt Update: When resizing, the pattern layer gets resized, too. As it was only 2*2px, resampling by factor 10 reduces the pattern layer to 1*x1px, so you get only one color. Never the less: Getting red is still wrong: it should get muddy gray. Possible root cause: The document must be (implicitly) rasterized / flattened before down-sampling for preview. Maybe the iPad version forgets this required step, preview doesn't properly resample for zoom. preview stays constant independent from zoom level. Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 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. Link to comment Share on other sites More sharing options...
Paul Mudditt Posted September 28, 2021 Share Posted September 28, 2021 1 hour ago, NotMyFault said: @Paul Mudditt Update: When resizing, the pattern layer gets resized, too. As it was only 2*2px, resampling by factor 10 reduces the pattern layer to 1*x1px, so you get only one color. Never the less: Getting red is still wrong: it should get muddy gray. Possible root cause: The document must (implicitly) rasterized / flattened before down-sampling for preview. Maybe the iPad version forgets this required step, I disagree, to get a good representation of a signal comprising multiple frequencies under sampled you must apply a low pass filter to avoid aliasing frequencies folding back on the nyquist frequency. Yes I am describing electromagnetic theory after spending many years sampling and processing voltage and current waveforms from the electricity distribution network in real time for protection relays but, the theory works the same for light waves which are also in the electromagnetic spectrum. Without applying a low pass filter the effect you are seeing on windows is likely a minor calculated value difference which is typical of aliasing effects. I guess you could argue that the developers should apply a low pass filter before showing the reduced size image but unless it was a repetitive pattern such as this it wouldn’t be a problem. Quote My dad always told me, a bad workman always blames their tools…. Just waiting for Ronny Pickering….. Affinity Photo, Designer, Publisher 1.10 and 2.4 on macOS Sonoma 14 on M1 Mac Mini 16GB 1TB Affinity Photo, Designer, Publisher 1.10 and 2.4 on Windows 10 Pro. Deceased Affinity Photo, Designer, Publisher 2.4 on M1 iPad Pro 11” on iPadOS 17.4 https://www.facebook.com/groups/AffinityForiPad https://www.facebook.com/groups/AffinityPhoto/ The hardest link to find https://affinity.help Link to comment Share on other sites More sharing options...
NotMyFault Posted September 28, 2021 Author Share Posted September 28, 2021 (edited) 8 minutes ago, Paul Mudditt said: I guess you could argue that the developers should apply a low pass filter before showing the reduced size image but unless it was a repetitive pattern such as this it wouldn’t be a problem. No. Please have a look at the screenshot from Windows, Export, preview i've added to my former post. It gives the expected result. Or better, try it yourself on Windows. iPad should give the same result as Windows. When you zoom the preview, it becomes even more obvious: Windows correctly shows the re-sampling for every zoom level. iPad shows one (wrong) primary color at every zoom level. Edited September 28, 2021 by NotMyFault Quote Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080 LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 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. Link to comment Share on other sites More sharing options...
Staff Gabe Posted September 29, 2021 Staff Share Posted September 29, 2021 Hi both, It does look like a bug with the export preview on iPad. Issue logged. 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.