Problem with Illustrator CS5 that I cannot find a solution to online.
What my problem is, is that when I go to save this image, the artboard is 577x300, but the actual saved jpeg is 578x300. It's only a one pixel difference, but it's an important pixel in this web layout. I know I can fix it in Photoshop, but I'm curious as to why this is happening in Illustrator. My artboard is aligned to the pixel in Illustrator, so being off by a half pixel wasn't the problem. Any ideas?
About this post
- Posted
- Archived
- Score
- 4 · 100% up
- Kind
- Text
- ID
- ptvi3
12 comments
When you export your file there is a small check box on the bottom left that says "Use artboards". Check that and it will always be the size you specified.
this
Note that your file name will then be "YOURFILENAME-1.EXT" vs the expected result of "YOURFILENAME.EXT". Which drives me goddamned insane.
Edit: but it's still the best sltn to the extra-pixel problem.
I've had this issue with artboards option too...
If you're using "save for web" in the bottom right you can change dimensions, it's possible that got off by one pixel?
If you have an art board that is 500x500 and you draw a 500x500 box w/ a 1pt stroke and align it perfectly to the art board you will still get overlap by default. You need to set the stroke to the "inside" of the box vs. middle. I'm guessing something like this is happening.
why do i see "1 pixel to few" here, isn't it 1 line of pixels? ie 300 in this case?
Do any of the objects in your layout hang over the edge of the artboard? I think that may be what's causing this. I've had that happen to me even when the object is hidden within a clipping mask.
As far as I know, there's no option for Illustrator to only use what's on the artboard. So you can either continue cropping the images in Photoshop, or you can cut off the part that's hanging over.
Deleted before we saved it.