Jump to content

Export not precise


medri

Recommended Posts

Hi, 

I came across a bug today that is weird and annoying. 

I have a artboard with the size 95x95px. When I switch to the Export Persona the automaticly created slice is sometimes 96x96px or 95x96px. When i manually select the correct 95x95px again the top left edge cannot be aligned to 0/0px. 

When I type in the coordinates by hand, it shows 0/0px, but as soon as I click on something else and then back to my slice, the old (off) position is restored. 

This makes it impossible to export small things like buttons, etc.

I have tried to capture a screen-video and uploaded it to youtoube. Maybe it helps to showcase my problem. Link to Youtube

 

Regards

Manu

Link to comment
Share on other sites

  • Staff

It is being caused by the Artboard's poisition being slightly off pixel (its Y position starts at 377.7px). This is causing the extra pixel to be added in the Export Persona. If you change the Y Position on that object to 378px and then select the Slice in the export persona and click 'Revert to Auto-Sized' it will create a 95x95px object with the Slice starting at 0x0.

You will probably need to just modify the X and Y positions of the other artboards to ensure they are on whole pixels (and revert any slices to auto-sized if they'd been modified). You may find having 'Force Pixel Alignment' and 'Move By Whole Pixels' on when making icons as it will help to ensure your artboards and slices are on forced pixel boundaries. 

Hope that helps!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.