Jump to content
You must now use your email address to sign in [click for more info] ×

IPad export preview issue


NotMyFault

Recommended Posts

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 by NotMyFault

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

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.

 

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

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 

  1. Possible to do it correctly
  2. Photo’s behavior differs between OS platforms.

This facts lead to my conclusion that it is a bug.

Image: Preview on Windows renders correctly

image.thumb.png.ef172874ff08f7615f869e4b8e955a6d.png

Edited by NotMyFault
added Windows for comparison

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

@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.

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

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.

 

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

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 by NotMyFault

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.