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

Recommended Posts

I have attached an Affinity Photo file.

I am trying to copy or export exactly what I see there, so basically this:

image.png.4845f11756e51944407086f8c0ca6c29.png

just not zoomed.

But whenever I do "Copy Flattened" or "Export..." I get this:

image.png.d7542844b0bd88c80875ba485afab2c6.png

which is different. (Note the additional black around the ear for example.)

When I set zoom to 100% and take a screenshot, I get this

image.png.edb2caca8948e39ae1e91e64c19321cc.png

where the rightmost pixels are missing/replaced with the gray surrounding.

I don't know what else to try.

problem.afphoto

Link to comment
Share on other sites

9 minutes ago, AndreKR said:

I am trying to copy or export exactly what I see

You might be better served using a Threshold layer instead of the Levels, regardless the way to get what you want is to use Edit > Copy Merged once you have the image the way you like it.

Mac Pro (Late 2013) Mac OS 12.7.4 
Affinity Designer 2.4.1 | Affinity Photo 2.4.1 | Affinity Publisher 2.4.1 | Beta versions as they appear.

I have never mastered color management, period, so I cannot help with that.

Link to comment
Share on other sites

I took a look at your file - the cat artwork is grayscale and you are essentially processing it to look like a bitmapped pixel line art drawing.  In your file, you use a Levels adjustment layer to try to squeeze the white and black points together to get the antialiased (shades of gray) edges to go to black or white.  Try using a Threshold adjustment layer instead.  Also, flatten the artwork onto the white background before applying the Threshold adjustment.  I was able to export a JPEG that looked identical to the preview in AP.  

I think the problem lies in using the Levels adjustment to force the gray around the edges of the line art to black or white.  When it comes time to export, there are probably edge pixels that are not completely black or completely white, and the export file type makes decisions about what should be black or white that do not agree with your intentions.  Threshold should cure the problem because it explicitly makes things either black or white.

In PS, you could convert the artwork to "bitmapped", but that option does not exist in AP, so you have to use the Threshold tool to effectively do the same thing.  I used a value of 72% in the threshold tool for my test.

Kirk

 

EDIT - I see @Old Bruce and I are on the same page.

Link to comment
Share on other sites

5 hours ago, AndreKR said:

I have attached an Affinity Photo file.

I am trying to copy or export exactly what I see there, so basically this:

image.png.4845f11756e51944407086f8c0ca6c29.png

just not zoomed.

But whenever I do "Copy Flattened" or "Export..." I get this:

image.png.d7542844b0bd88c80875ba485afab2c6.png

which is different. (Note the additional black around the ear for example.)

When I set zoom to 100% and take a screenshot, I get this

image.png.edb2caca8948e39ae1e91e64c19321cc.png

where the rightmost pixels are missing/replaced with the gray surrounding.

I don't know what else to try.

problem.afphoto 26.44 kB · 3 downloads

 

 

Your layered document opened on my Mac looks exactly like the second of your three images - the flattened result, so I suspect the layered document is being displayed wrongly on your computer.

 

on.png.a45e6a5b5c7a94c6bd33e096a528e82d.png

off.png.33ea1572d14aaabb2be93626d56fb3a9.png

 

Link to comment
Share on other sites

1 hour ago, AndreKR said:

I'm getting the exact same problem with the Threshold Adjustment (thanks for that, didn't know it). It seems to be a flattening problem, not a problem of the Levels/Threshold:

 

 

The flattening appears to be correct, in my opinion, and the layered version is being displayed incorrectly on your computer.

 

Link to comment
Share on other sites

  • Staff

Hi AndreKR,
Welcome to Affinity Forums :)
The height of the background layer (cat) is not an integer value (look at the Transform panel). That's what's causing your issues. Go to Affinity Preferences, User Interface tab, Decimal Places for Unit Types section and change the Pixels value to 3 or more so you can see more decimal places in the Transform panel (and elsewhere), then delete the decimal part in the height field in the Transform panel. Adjust the Levels adjustments if needed and export the file again. It should look exactly the same as what's displayed on canvas.

Link to comment
Share on other sites

  • Staff

Hi AndreKR,
Can you show me/record a small clip of what you are doing please after opening the file you posted above? After pasting the flattened copy make sure you have Force Pixel Alignment enabled in the main toolbar and move the pasted image a bit to force it to align to the pixel grid otherwise it may end up misaligned too (on non-integer X,Y coordinates - see Transfer panel, make sure there's no decimal parts) and looking different.

Link to comment
Share on other sites

23 minutes ago, AndreKR said:

Unfortunately that didn't fix the issue. Here's the new file. You can see the layer is now exactly 22px high but it still shows the same anomaly when flattening.

problem.afphoto 21.55 kB · 3 downloads

Again, the flattening is not the problem. It is the display of the layered document on your computer that is incorrect. Here it is displayed correctly on my screen:

layered.png.1fa4e891308009fd416de219a1602738.png

flattened.png.8419533b494a5c0c187b1cc8bf242fe4.png

 

Link to comment
Share on other sites

13 minutes ago, MEB said:

Hi AndreKR,
Can you show me/record a small clip of what you are doing please? After pasting the flattened copy make sure you have Force Pixel Alignment enabled in the main toolbar and move the pasted image a bit to force it to align to the pixel grid otherwise it may end up misaligned too (on non-integer X,Y coordinates - see Transfer panel, make sure there's no decimal parts) and looking different.

Sure, here you go.

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.