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

Sometimes rasterizing a layer blurs it


Recommended Posts

Hi,

I've noticed that sometimes rasterizing a layer blurs it. Anybody noticed this? Why does this happen and how can I avoid it?

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

Position and size exactly to pixels?

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
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.

Link to comment
Share on other sites

Yes, the dimensions of the Image layer are exactly the same as the document and it is positioned such as it touches all 4 borders of the document. I use the Alignment tools in the upper right corner to make sure it is perfectly centered and then I rasterize the Image layer.

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

I would definitely check it in the Transform panel (of course, after increasing the number of decimal places to display pixels).

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
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.

Link to comment
Share on other sites

  • 2 weeks later...

Ok, so I increased the decimal places for pixel values from 0 to 2 in Preferences and then after rasterizing I saw that the dimensions of the layer increased by 1 pixel and the position of the layer changed from 0;0 px for X;Y coordinates to -0.43;-043 px. A bug? This has become really frustrating problem for me since I often have to rasterize image layers. :44_frowning2:

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

4 hours ago, Alex_M said:

decimal places for pixel values from 0 to 2

Try setting the maximum (I think it's 6).

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
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.

Link to comment
Share on other sites

5 hours ago, Alex_M said:

the position of the layer changed from 0;0 px for X;Y coordinates to -0.43;-043 px

The position didn’t change at all. Only the displayed coordinates of the position changed: the actual position may have been (0.428571, 0.428571) or something similar, in which case it would be rounded up to (0.43, 0.43) when displayed to two decimal places but rounded down to (0, 0) when the number of decimal places is zero. If you aren’t working with integer values for both the position and the dimensions, you’ll get blurring at the edges.

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Ok, so what's causing this and how can I avoid it? I've noticed that it only happens sometimes, not always. It would be good if a developer could chime in and clarify this problem. In Photoshop I've never had this issue. I still think it's a bug because prior to rasterizing I'm always centering the layer (which has exactly the same pixel dimensions as the document) in the middle of the document so it shouldn't be misaligned.

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

Ok, I found the culprit !!! It happens ONLY when I have an Unsharp Mask filter somewhere in the layer stack. O.o If I remove all Unsharp Mask filters, The Image layer no longer gets blurred after rasterizing. Should I report this as a bug?

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

Sure. I'd like to have the private link since it's client work.

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

Sent. Try rasterizing "TEST LAYER" which is an image layer. It should get blurred. Then try the same, but with the Unsharp Mask filter deleted.

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

Good to hear. BTW, I'm seeing the same behavior with other filters as well such as Gaussian Blur.

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

  • 6 months later...

Hi,

This bug still exists and is present in version 1.8. Again, rasterizing an Image layer makes it blurry if there's an Unsharp Mask live filter above it.

Affinity Photo 2.3.1 for Windows  OS: Windows 10 Pro x64 ver. 22H2  CPU: AMD Ryzen 7950X 16-core  RAM: 64 GB DDR5-6400  GPU: MSI GeForce RTX 3090 Suprim X 24GB / driver 526.98  NVMe SSD Samsung 980 Pro 1 TB  Monitors: 2x Eizo ColorEdge CS2420 24"

Link to comment
Share on other sites

32 minutes ago, Alex_M said:

Hi,

This bug still exists an is present in version 1.8. Again, rasterizing an Image layer makes it blurry if there's an Unsharp Mask live filter above it.

Also happens when a live filter (not just Unsharp Mask) is below an Image or Pixel object being rasterised, and even if that filter has its visibility disabled. Still happens in AP beta 1.8.2.173 for macOS.

Link to comment
Share on other sites

I suspect that the movement of the Image/Pixel layer (approximately -.4px in both the x and y directions, for me) during rasterization is responsible.

 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

  • 1 year later...
36 minutes ago, Mark Clifford said:

Hello. I'm still getting this problem. Any update? 

Many times "this problem" is a user error involving miss-positioned layers or layers with the wrong DPI, and fixing those resolves the problem.

Have you verified that you are actually experiencing one of the bugs, and not one of the user errors?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

36 minutes ago, walt.farrell said:

Many times "this problem" is a user error involving miss-positioned layers or layers with the wrong DPI, and fixing those resolves the problem.

Have you verified that you are actually experiencing one of the bugs, and not one of the user errors?

Thanks for your reply. After playing around I discovered Layer > Geometry > Merge Curves  which solved my problem. I was wanting to merge several map layers together and rasterise quality was awful.  

Link to comment
Share on other sites

  • 8 months later...

Any updates on this issue? Ran into it a while ago, the same ordeal: rasterizing a group yields blurry results if there's an instance of the Unsharp Mask filter on the layer stack. While it's perfectly avoidable once you're aware of it, it can be a bit of a trap to an unsuspecting eye. Not fun discovering the issue further down the line with a project, when it's already too late.

Link to comment
Share on other sites

  • Staff

Hi @dr_who,
This is already logged with the development to be looked at. I've bumped/updated the report to bring it up to devs attention again. If you use an integer value for the Radius of the filter it shouldn't blur the output when you rasterise the layer/group. Thanks for your feedback.

Link to comment
Share on other sites

  • 7 months later...
  • Staff

Hi @RachelPerez12,
Welcome to Affinity Forums :)
Sorry the delay getting back to you. The original issue reported in this thread is fixed in the current release version (2.0.4). Do you mind uploading the file that becomes blurry after you rasterise a layer please? Maybe you are dealing with something a bit different than what was reported here. Here's an upload link you can use to send it to us. Thank you.

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.