Sheila Finch Posted October 24, 2023 Posted October 24, 2023 When I resize to 1500px jpg and change ICC profile to sRGB IEC61966-2.1 the painting has swirled pixels. This is only happening for the images of the sides of the painting. (not images facing straight-on) Weird. I turned off accelerator.I'm running on macOS M1 Max Ventura Version 13.6 Quote
lacerto Posted October 24, 2023 Posted October 24, 2023 It is the canvas of the painting when changing the resolution, and probably combined with JPG compression artifacts that causes the behavior. You might be able to alleviate the problem by using a bit different resampling size, method and then saving to PNG. if nothing else helps, the parts showing most moiré can be tried to be blurred a bit, but it is tricky because this is a painting and changes are easily too big, or uniform, and you are supposed to keep all details (for this reason e.g. cloning non-moiré parts might be impossible). But see if simply just using a different resolution, resampling method and no JPG compression could make a change. Quote
markw Posted October 24, 2023 Posted October 24, 2023 You could also try changing your Resample method from 'Bilinear' to 'Lanczos 3 (non-separable)' in the Export dialog, that may help a bit too. Quote macOS 12.7.6 | 15" Macbook Pro, 2017 | 4 Core i7 3.1GHz CPU | Radeon Pro 555 2GB GPU + Integrated Intel HD Graphics 630 1.536GB | 16GB RAM | Wacom Intuos4 M
Sheila Finch Posted October 24, 2023 Author Posted October 24, 2023 Thank you lacerto and markw for your suggestions. I tried them all, with no success in fixing the moire in the images. I ended up using the Mac-installed app: PREVIEW to change the image size to 1500 px. Then I imported it to Affinity Photo, adjusted the light and warmth, and then exported. The image looks perfect. No moire. I'm a little flabbergasted that I had to use macIOS Preview app resizing tool to successfully change the image size before importing to Affinity Photo. Could this be a bug? Quote
markw Posted October 24, 2023 Posted October 24, 2023 To be honest I’m surprised too that Preview out performed APhoto! If you have any or could make some specific test images showing this problem that you could post here it might help with finding a way forwards using APhoto. But glad you found a workable solution for now. Quote macOS 12.7.6 | 15" Macbook Pro, 2017 | 4 Core i7 3.1GHz CPU | Radeon Pro 555 2GB GPU + Integrated Intel HD Graphics 630 1.536GB | 16GB RAM | Wacom Intuos4 M
lepr Posted October 24, 2023 Posted October 24, 2023 1 hour ago, Sheila Finch said: ended up using the Mac-installed app: PREVIEW To emulate Preview resizing in Affinity Photo: open an image file in Affinity Photo document convert format to RGB/32 document resize with 'Lanczos 3 (separable)' resampling document convert format back to original (for example, RGB/16 or RGB/8) NotMyFault 1 Quote
Sheila Finch Posted October 25, 2023 Author Posted October 25, 2023 lepr, thank you. I followed the steps you suggested to emulate Preview and remove the moire, but the moire remains in the image. This is the image after exporting at 1500 px resizing as a jpg. I guess I'll just use Preview first if this ever happens again. This is actually the first time I've had this happen, so I wonder if something in the recent Affinity update might have been changed. Oh well, at least I have a solution. Quote
lepr Posted October 25, 2023 Posted October 25, 2023 (edited) 52 minutes ago, Sheila Finch said: but the moire remains in the image. If you upload the full size image (preferably inside a zip file), I'll see what I can do with it in Affinity. Edited October 25, 2023 by lepr Quote
Sheila Finch Posted October 25, 2023 Author Posted October 25, 2023 Lepr, thank you for offering to take a look at the image! Again, the moire shows up when the image is reduced to 1500 px. Here's the image attached. 4121 right test.jpg.zip Quote
markw Posted October 25, 2023 Posted October 25, 2023 @Sheila Finch This is interesting, I’m not getting the same moire effect as you. Here are the Export settings I used and the result. Can you post your Export settings? Quote macOS 12.7.6 | 15" Macbook Pro, 2017 | 4 Core i7 3.1GHz CPU | Radeon Pro 555 2GB GPU + Integrated Intel HD Graphics 630 1.536GB | 16GB RAM | Wacom Intuos4 M
Old Bruce Posted October 25, 2023 Posted October 25, 2023 This is a combination of the Pixels in the JPEG making a moire with the Pixels on your screen. View it at less than 100% and you'll see it. Could also be a moire from the texture of the canvas. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
lepr Posted October 26, 2023 Posted October 26, 2023 (edited) 6 hours ago, Sheila Finch said: Again, the moire shows up when the image is reduced to 1500 px. Here's the image attached. No moire is produced when resizing that image to 1500 px with Lanczos or bicubic resampling. Perhaps you are being misled by Affinity's display which is compromised by using mipmaps and a choice of bilinear (view quality = 'Best') or nearest neighbour (view quality = 'Fastest') resampling, whereas Preview's display uses either bicubic or Lanczos resampling. Edited October 26, 2023 by lepr Quote
John Rostron Posted October 26, 2023 Posted October 26, 2023 I have also tried this, resizing to 1500px, Lanczos, and see no moire at any view magnification between 25% and 400%. John markw 1 Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050
Sheila Finch Posted October 26, 2023 Author Posted October 26, 2023 Thank you all for your help on this! I followed your guidance again today, carefully following the steps, and low-and-behold, today the moire is gone when I change the resampling to either of the lanczos settings or using bilinear! I can only assume I screwed up following the export settings. Both of the painting side images looks just fine now! Thank you lepr, markw, old bruce and john! markw 1 Quote
lepr Posted October 26, 2023 Posted October 26, 2023 2 hours ago, Sheila Finch said: bilinear Bilinear will produce moire with your image. You probably meant to write bicubic. Quote
Sheila Finch Posted October 26, 2023 Author Posted October 26, 2023 Yes! Thank you Lepr. Didn't realize I wrote bilinear. Quote
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.