12 Replies Latest reply: Jul 23, 2014 7:19 AM by mowglivj RSS

    Art boards extra pixel issue

    JPStallard Community Member

      Why does illustrator cs4 add random pixels when saving art boards and how can I stop it?

        • 1. Re: Art boards extra pixel issue
          Steve2C Community Member

          I'm not sure if I understand your question correctly but I'll give it a try.

           

          Illustrator doesn't have "pixels" so do you mean stray "points"?

           

          If I delete a path and the end points are not also selected, they remain and I usually can't see them. When you finish working with your image, choose "Select > Object > Stray Points" to select the points, then you can delete them.

          • 2. Re: Art boards extra pixel issue
            JPStallard Community Member

            Hi Steve, sorry didn't explain myself to clearly.

             

            When exporting bitmap based files (PNG's, JPG's ...) out of Illustrator using the art board as a bounding box for the file, it will almost always off-set the artwork and included a white pixel border where it used to be (even if transparent background is selected) .

             

            If I don't use art board setting it works fine, this only becomes a problem when I have multiple art boards in the single file or have elements leading off the edge.

             

            Makes for a tedios clean up job in photoshop as it will effect some art boards and not others.

             

            Thanks for the tip on Stray Points, will be using that for other clean up.

             

            -JP 

            • 3. Re: Art boards extra pixel issue
              Jacob Bugge CommunityMVP

              JPStallard,

               

              The boundaries of your artboards should have integer values as measured in points/pixels (start at integer values and have integer value(s) size), with another term: the artboards/resulting artwork should be aligned to the pixel grid (CS5 speak).

              • 4. Re: Art boards extra pixel issue
                TrajanB Community Member

                I have the same issue and everything is aligned to the pixel grid, the units are set to pixels. But it always adds 1 extra pixel to the artwork. Has anyone found the fix to this?

                • 5. Re: Art boards extra pixel issue
                  JPStallard Community Member

                  Hi TB

                   

                  I found my issue was the artboard was not properly aligned to the pixel grid. It was a sub-pixel off (0.2345, not 0) which then added pixels around the artboard when exported.

                  • 6. Re: Art boards extra pixel issue
                    TrajanB Community Member

                    Thanks, I have perfectly aligned the art to the grid and the artboard is as well, but still getting one extra pixel in height. This is in CS5.5, seems like something they should fix, when you define a precise artboard that the artwork crop exactly to it.

                    • 7. Re: Art boards extra pixel issue
                      Jacob Bugge CommunityMVP

                      TrajanB,

                       

                      Are you sure there is nothing beyond the top of the topmost object (spine of path), such as half a stroke or an effect?

                      • 8. Re: Art boards extra pixel issue
                        TrajanB Community Member

                        It is a very simple drawing, no effects, no clipping paths, the art and the board is exactly 512 x 512 and aligned but the export always becomes 512 x 513.

                        • 9. Re: Art boards extra pixel issue
                          Jacob Bugge CommunityMVP

                          Trajan,

                           

                          And the artwork is still 512 x 512 when you Edit>Preferences>General>Use Preview Bounds?

                          • 10. Re: Art boards extra pixel issue
                            TrajanB Community Member

                            Yes, and when I "Save for web and device" it is exactly 512x512, but export png from selected artboard it adds the extra pixel. Seems like a bug.

                            • 11. Re: Art boards extra pixel issue
                              Jacob Bugge CommunityMVP

                              Seems like a bug.

                               

                              Indeed, Trajan. And apparently a new one in CS5, since JP got it to work in CS4.

                              • 12. Re: Art boards extra pixel issue
                                mowglivj Community Member

                                I'm getting this on Illustrator CC and it's beyond frustrating. I'm exporting jpgs from a document with 30 artboards out of which quite a few of them come out with an extra pixel. Sometimes it's added to the top, sometimes to the bottom, sometimes to the left and sometimes to the right. There is no consistency as to how this happens ie: the same artboards exported twice will have the extra pixels added to different sides. What should take a single click to do is taking ages as I'm having to manually crop each jpg. Also, elements positioned with "paste in place" on different artboards don't appear on the exact same position when exporting to jpg...