Skip to content

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?

4 points11 comments
Open on Reddit
About this post
Posted
Archived
Score
4 · 100% up
Kind
Text
ID
ptvi3

Author

3
posts
9
comments
0
media
View profile

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.

17 points

this

4 points

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.

1 points

I've had this issue with artboards option too...

1 points

If you're using "save for web" in the bottom right you can change dimensions, it's possible that got off by one pixel?

1 points

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.

1 points

why do i see "1 pixel to few" here, isn't it 1 line of pixels? ie 300 in this case?

1 points

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.

-1 points
unknown author

Deleted before we saved it.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.