You need to align the bounding box of the pattern to the pixel grid.
And then convert to pixels with 72 ppi. When you use other resolutions, artwork might get interpolated again.
whats a pixel grid? Could you please show me what you mean?
2 people found this helpful
There's an underlying pixel grid in every Illustrator file. If you zoom in really close you should see it.
When you create new web documents, alignment to the pixel grid is turned on by default, but you can also use it in other documents.
WHen you set the units to pixels you will see if your artwork is properly aligned. When all the values (x, y, W, H) are whole numbers, then your artwork is aligned to the pixel grid.
This is how Illustrators align functions work:
I went into the pattern editing mode, selected the bounding box and clicked snap to pixels on the control panel. how do i then convert the pixels to 72 ppi?
1 person found this helpful
The command is Object > Rasterize
You could do this either in Pattern Editing mode - I would always make a duplicate of the artwork (resp the pattern)
Or you could do it after having created the pattern.
Drag the artwork out of the swatches panel
Align the pattern boundaries to the pixel grid
Create guides along the pattern boundaries
Convert to pixel grid
Crop the resulting pixel artwork to the guides you have created using Illustrators pixel cropping feature.
When i select the vectors in the pattern and goto make pixel perfect, nothin seems to change, shouldnt the dimensions of the pattern tile change slightly if they're being aligned to pixels?
to rasterise patterns, I have been making bounding boxes with the same dimensions of the pattern tile, then filling the box with the pattern, then rasterising the box. but then this gives that white anti-alias thing around the edges..
Yes, they should.
Actually without knowing what exactly you are doing, this is pretty pointless.
A screenshot would help as well.
And then: just place (embed) the resulting image in your AI file and use the crop function to crop the antialiased edges away. Then make the pattern swatch. Most likely nobody will notice.
Ok apologies if Im not making much sense, thanks for your advice so far. I will update with screenshots when I can
1 person found this helpful
When I convert your tile width and height as seen in your screendump, from mm to pixels I get 302,256 px X 314,272 px
Your tile size should not contain fractions, so try if 302 px X 314 px works for you.
When you are done creating the patten, fill a rectangle with the pattern.
It is best to do the following in a clean document, so copy the filled rectangle and paste it in a new document.
Delete the rectangle and drag from the Swatches panel your pattern to the Artboard.
In the Layers panel you see a group. The last item in the group is a path with no fill or stroke.
Select only this path.
Go to Objects > Artboards > Fit to Selected Art
Now your artboard is exactly the size of your pattern tile.
Show the Rulers and double click their top left intersection to set the zero point to the top left of your artboard.
Export the artboard (be sure to check the Artboard option in the export dialog) as PNG, PSD, TIFF or whatever raster file format you like.
For resolution choose 72 ppi or a multiple like 144, 288 to avoid seams.
The dark lines are very hard to see in your screendump.
Why would you bring the .png file back into Illustrator and make it a pattern again?
Sorry I meant when I loaded the png file back into a different artwork file to apply as a pattern
Why don't you use your original vector one?
But if you want us too look at your ptoble, maybe it's best to share the original .ai file (Dropbax, WeTransfer, CC Files folder).