Jump to content

Recommended Posts

Posted

MacOS 12.3.1, Affinity Photo 1.10.5.

I have a jpeg image I exported from a PDF file.  I want to sharpen the image to enhance the line darkness.  I select "select all" and then Filters > Sharpen >  Unsharp Mask and play with the sliders.  The preview it gives me is perfect.  Exactly what I want.  Unfortunately, when I click "Apply" from the unsharp dialog, the image reverts back to what it had been.  I can only assume there's something about the image format (color depth, mode, etc.) that doesn't allow my changes to stay put.  Any ideas on this?

Thanks.1506497461_ScreenShot2022-04-02at12_14_09PM.png.998f6f3dcc14e4122b1ca98ffda74f60.png521320668_ScreenShot2022-04-02at12_14_22PM.png.bb7e495278de7dd2451907fbe49ac114.png

Posted

Hello @GaryT, and welcome to the forums.

Are you assessing the sharpness with the zoom level at 100%?

If not, try it at 100%.

John

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

Posted

Can you show us the layer stack? Do you have a pixel layer selected?

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.

 

Posted
29 minutes ago, GaryT said:

Here is a screen shot of the layer stack.

Too bad you missed the previous instructions.

5 hours ago, John Rostron said:

Are you assessing the sharpness with the zoom level at 100%?

If not, try it at 100%.

 

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted
8 hours ago, GaryT said:

Here is a screen shot of the layer stack.

Screen Shot 2022-04-02 at 6.30.21 PM.png

Thank you. It differs from the older screenshots in one important detail. Those clearly show the existence of another adjustment layer atop the background.

  1. Can you please check, as @Pšenda suggested, that zoom is set to 100% (or 200 or 400, but no other value)?
  2. Next, if you use the „destructive“ sharpen filter via menu, check that the background layer was selected in the layer stack
  3. or, as @RichardMH suggested, use the live filter variant.
  4. another thing to consider: you said you used „select all“. A better way is to use „deselect all“ to ensure no selection is active before choosing a filter from the menu.
  5. If you use both Windows and Mac: the ok/cancel buttons are swapped on both platforms for many UI boxes. Drives me crazy.
     

 

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.

 

Posted
26 minutes ago, NotMyFault said:

but no other value

... in particular, not less than 100%, otherwise the image is distorted - see the use of the mipmaps method, which Serif uses to speed up the displaying.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted
1 hour ago, Pšenda said:

... in particular, not less than 100%, otherwise the image is distorted - see the use of the mipmaps method, which Serif uses to speed up the displaying.

I gave 100/200/400 for a reason. 
The image has 1px fine structures. Affinity rendes these fine details wrong in many situations depending on settings (resample method, view quality, exact clipping, OS platform etc) and in case of non-integer multiples of 100%

It is less obvious for landscape/ portraits, but could be a deal breaker for fine details we have in this case.

See below: you get completely wrong colors, even above 100%

Best method to reproduce:

  • open file
  • set zoom to 100%
  • zoom gradually (navigator panel) up to 200%
  • then advance to 400% (view quality not „best“, but even then possible)
  • you will see lots of red which is not correct.

I crafted this image specifically to make the issue visible. But the same happen with many real-word images.

you can’t work without risk of those effects with pixel art and high contrasting colors except in 400% (and nearest neighbor, best view quality, …), 

 

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.

 

Posted
1 hour ago, NotMyFault said:

I gave 100/200/400 for a reason. 

Which, as you've probably noticed, I don't contradict in my comments (see the 3 dots at the beginning of my post, which indicate that my comment only follows yours and complements it). For the OP, however, it may be interesting information that explains why is 100% so essential. Just information "100%" won't tell him "why".

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.5.7.2948 (Retail)
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 24H2, Build 26100.2605.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Posted
4 minutes ago, Pšenda said:

Which, as you've probably noticed, I don't contradict in my comments (see the 3 dots at the beginning of my post, which indicate that my comment only follows yours and complements it). For the OP, however, it may be interesting information that explains why is 100% so essential. Just information "100%" won't tell him "why".

I interpreted it as contradicting, maybe by mistake. You are welcome 👍🏼

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.

 

Posted

Another observation. The OP screenshot of layers stack shows the histogram, and only very few (7—9) lightness levels (grey color) used.

As these lines are mostly 1px wide it is hard to spot which line has which colors.

To make this better visible, i added a gradient map adjustment and added nodes at the relevant lightness values, and colored them in high contrasting colors. Now you see clearly which lines have which brightness.

When you add an unsharp mask filter, this drastically changes the colors.

If the colors were real (scanned), sharpening will actually wipe out these details. So check wisely before sharpening, or choose sharpening filters like bilateral which maybe preserve colors better  

Of course, the colors maybe non-real by resampling in case zoom levels not 100/200/400 (during scan or later while rescaling or viewing).

D93EB89A-A634-4FBC-9F7F-AA1E43AC94FC.png

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.

 

Posted

OK, it looks like the answer is that distorted rendering of the "after" image when the zoom factor is less than 100% causes the "issue" I was seeing.  Here is a screen shot of the same image at 100% zoom (and yes, I should have tried that first 😞).  Anyway, I think I understand what it's doing and I can deal with that now that it seems clear what's happening.  Thanks to all for the help, and again, sorry for not having tried the zoom factor first.

 

Gary 1395242963_ScreenShot2022-04-03at8_54_01AM.png.73909df3aa48de06b7a68eec52d93a44.png

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.