Jump to content

Blended color in imported PDF


Recommended Posts

Hello - I'm trying to open a pdf in Affinity Designer. The original file is a heat map with distinct patterns of color in rows and columns (first attachment). When Affinity opens the pdf, the colors are blended to obscure the rows and columns (second attachment). How do I import into Affinity without changing the color patterns? Thanks. 

original pdf image.png

image imported into affinity.png

Link to comment
Share on other sites

Any chance you can upload the actual PDF? If it is private / not to be seen publicly, you can request a private upload link from moderators.

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.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

This file looks distorted right in Apple Safari / preview, unrelated to Affinity software. What SW are you using to get the „correct“ rendering?

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.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

The ressource panel shows an image stretched extremely in x and y axis, with different factors.

if you reset the scaling to 100%, you get the pixels in original size.

 

IMG_0787.png

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.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

I don't see any bug. The PDF contains an image layer which is stretched to the extremes. Depending on zoom level, you will see rendering artefacts caused by bilinear resampling. Works as designed for me. Apple Preview creates almost identical preview. 

 

Just change the zoom level to see all the to be expected rendering artefacts.

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.

My posts focus on technical aspects and leave out most of social grease like „maybe“, „in my opinion“, „I might be wrong“ etc. just add copy/paste all these softeners from this signature to make reading more comfortable for you. Otherwise I’m a fine person which respects you and everyone and wants to be respected.

 

Link to comment
Share on other sites

On 9/21/2023 at 8:19 PM, mmm22 said:

How do I import into Affinity without changing the color patterns?

As mentioned by @NotMyFault this appearance is caused by a quality feature. To disable it you can switch to "Nearest Neighbour" in the app Preferences.

performancenearestneighbour.thumb.jpg.9227ef37be14913198a4bf85aa306f3e.jpg

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

Link to comment
Share on other sites

Thank you, @thomaso and @NotMyFault! I zoomed in, and the heatmap ultimately resolved to its original color pattern. For zoomed out view, switching the quality to "Nearest Neighborhood" resolved the visual distortion. 

As an additional note, this problematic heat map was a vector graphic; rasterized version of the heat map did not have this issue. 

Edited by mmm22
Link to comment
Share on other sites

42 minutes ago, mmm22 said:

As an additional note, this problematic heat map was a vector graphic; rasterized version of the heat map did not have this issue. 

Are you referring to your uploaded PDF with "this problematic heat map" ? This was a raster image, not vector. The issue appears to be triggered by the extreme pixel distortion of stretching (horizontal) + compressing (vertical). Vector wouldn't get affected by scaling in such a way, – apart from possible moiré pattern on a monitors hardware pixels when rendering content in certain dimensions or angles.

macOS 10.14.6 | MacBookPro Retina 15" | Eizo 27" | Affinity V1

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.