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

Somehow Pixel Object Splitting Pixels- Affecting Seamless Pattern Export


Recommended Posts

Hi! I'm troubleshooting a disruption in my seamless pattern when I export to PDF- thin white line that shows up between two repeating patterns. I set the document to move only by whole pixels, yet when I zoom into a pixel by pixel view, I see that the bottom and top row of pixels on each object is split. This is not reflected in the transform panel (object sizes and positions are only whole pixels. I'm trying to clip the top or bottom fraction of a pixel, but I can't figure out how this would be done. Thanks!image.thumb.png.3457fd0e3b6711331db1bd8e2b126e0d.png

image.thumb.png.9316adf128dc4cdd0663cf9b84ba7ade.png

Mountain Pattern.afdesign

Link to comment
Share on other sites

You don't want "move by whole pixels" on. That would mean anything that is slightly off pixel will always remain that way. It's a confusing name, but it means it moves in pixel increments from the origin, so if the origin is 0.77px, it will always be on something.77px.

Set the preferences to show at least two decimal places as it might be out but it's being rounded to the nearest whole number so you won't see.

Link to comment
Share on other sites

Thanks for the response. I only turned on the "move by whole pixels" after I'd rounded off my existing objects- but I changed the preferences to show two decimal places, and still, all my object sizes and positions are still showing as whole numbers in the transform panel. Is there a way I can use exporting or some sort of whole document manipulation to sort of refresh the pixel readings? Or a more precise setting for cropping, so I can just manually slice off that half pixel?

Link to comment
Share on other sites

1 hour ago, cpaliocha said:

I changed the preferences to show two decimal places,

Won't show X.004 pixels you'll see X pixels. Toggle the Transform x, y and H, W boxes by selecting the whole number and use the up down arrow key to toggle up and then down. Now you will have integers.

Mac Pro (Late 2013) Mac OS 12.7.2 
Affinity Designer 2.3.1 | Affinity Photo 2.3.1 | Affinity Publisher 2.3.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

Yes, so I have integers in the Transform boxes, the issue is that the object (with many layers therein) has x fraction of pixel hanging off the top and 1-x fraction pixel hanging off the bottom (i.e. row of 1/4 pixels at the top and 3/4 at the bottom). This means my object is an integer dimension of pixels, and its position is also an integer. But the split pixel shared between the top and bottom remains and cause issues. 

The only way for me to crop a portion of a pixel (or move the object in "crop" mode, to align the object with a whole integer pixel), is to have all snapping and pixel alignment off, which in turn means I can't ensure my adjustment lands exactly on a whole pixel.

I tried exporting as a png, there's still a line that shows up and disappears at different zoom levels.

Link to comment
Share on other sites

2 hours ago, cpaliocha said:

This means my object is an integer dimension of pixels, and its position is also an integer.

At least for the Mountain Pattern file you uploaded, the X position of many of the layers are not on whole pixel values. To see this, set display precision to at least 3 decimal places.

So for example, X value of the "BL Corner (Pixel) (Pixel) (Pixel) (Pixel)" layer in the "Bottom Right Pattern SemiFinal" group of Artboard 2 is -1110.002 px.

All 3 1.10.8, & all 3 V23.0 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

I've had a look at the actual file, it's more complex than I had assumed. Anyway, no need to do much to it - select Artboard 1, right click it in the layers panel and choose "rasterise & trim" (do this on a copy of your document or copy the artboard if you want to preserve it for future use as is). Now, take that resultant pixel layer (it will be named "Artboard1" but it's not an artboard any longer) and tile to your heart's content. Just make sure that it's on whole pixels as mentioned before, and if you use an artboard, that too has to be on whole pixels.

For export to PDF, you need to choose the "flatten" option otherwise you will get that line rendering artefact. If you want to add vector content in there with the pattern then make the full pattern up on an artboard and rasterise the artboard, then use that pixel layer along with the vector content and any of the pdf export options will work.

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.