I have something going on when I export from Illustrator as a PSD using the artboard. It ends up with a line of transparency around the edges, and is larger than the size of the art exported. It gains about .01 inch around the edges, and when I use 'trim transparent pixels' in Photoshop, it trims it down so it has only gained .07 inches around the edges, but doesn't lose the last line of pixels that are semi-transparent. I am using a script that exports it, then re-imports it and places it in the Illustrator file, effectively swapping the vector for raster. It's part of a larger process I have no control of, so the process is not something I can change, otherwise I wouldn't do that.
Why is it exporting with this line of transparency on the edges? It's causing white lines to show up in the file that it gets reimported to. Until now it was ok because it only shows in the bleed, which gets trimmed off. From now on, though, this process is supposed to be used for non-bleed items, and the white lines are showing up. Attached is a closeup of an example.
Does anyone have any ideas how to stop it from happening?
No, no effects are applied to the art, and it's across the board; it happens on all kinds of files, and we process about 500 files at a time. Here's a screenshot of the dummy ai file I made to demonstrate the transparent edges. The art and pasteboard are 11.95" x 11.95", and when exported to jpg is 11.96" x 11.96". Once I trim off transparent pixels, leaving the semi-transparent it is 11.953" x 11.953".
I've tried exporting it every which way; using artboard, not using artboard, flat, layered, extending the art beyond the artboard, every time it comes out with these transparent added edges.
Pretty unscientific behavior for software, which leads me to believe there's a way to do it that this won't happen.
the transparent pixels are the result of the conversion from Inches to Pixels.
11.95 Inch = 860.4 Px
Since an 0.4 pixel does not exist an extra pixel is added to the file.
Set your Rulers to Pixels (Ctrl-click Ruler) and make sure that the artwork you want to export only measures full pixels.
Even if you work with whole pixels, you may also check the resolution: 72 or multiples thereof are ok, but some resolutions may introduce extra anti-aliased semi-transparent pixels
Ok I got it you have two choices to get rid of this problem this is what I found out.
if you export the file with the choice of art optimize or type optimize you will get this antialias artifact if you choose none as the optimize option then you will not get this anti alas artifact since there is no anti alias being applied.
The second choice is to turn on align to pixel grid and then you can export with art or type optimze as an anti alias option and this artifact will not be present.
You have a third option and that is to keeep your optimization options and set the color background shape to align to pixel grid on the object level and not the document level using the align to pixel grid option in the transform panel you have to show options in the transform panel to see this option.
Here is no align to lixel grid with none for optimizing
Here it is with Art Optimized
Here it is with Type Optimized
Here it it with art optimized and align to pixel grid document wide
Here it is with the background object only set to align to pixel grid
I hope this gives you the options you need
You did not read what I psoted very well I wrote that if you have a lign to pixel grid you can use any of the optimized options including type optimize and if you use align to pixel grid only on the background shape ypou can also use any of the optimized options including type optimize.
I can read very well. You wrote:
OK this is with none as the optimize option and without align to pixel grid at 300 ppi export which looks good to me
That may look good in this case, but not with small type (and screen shots are different from exported files)
You did not read it wella all I wrote you can align to pixel grid on the background layer and use any of the optimize options, that is art optimize, type optimize and none.
It will work fine.
I am trying to mark both of your answers as the answer, but Adobe seems to think only one person can be right!
Both of these are totally solving the problem. We don't export text, we keep that live, so that's not a consideration for me, but yes I felt it looked ok with text optimized on.
Thanks you so much, this is why I come to the forums. Smart people.
If you wish you can mark something as the answer or as helpful helpful you can mark a few times for one thread, I think and only once for the answer.
it is not really important once a thread is marked the other users doing a search will be able to see the whole thread so that is more important.