Jump to content
kukula

Wrong size of file after export

Recommended Posts

Hi,

in Affinity Designer, I created an artboard 48x48 px. After export PNG file is 48x49px. Moreover another artboard 216x216 exported PNG file 217x217.

Zrzut ekranu 2018-09-24 o 14.41.58.png

Zrzut ekranu 2018-09-24 o 14.42.08.png

Zrzut ekranu 2018-09-24 o 14.43.52.png

Share this post


Link to post
Share on other sites

Hi kukula,

This happens if your object is not positioned (or sized) in whole pixels. Looking at you screenshot, it has a Y value of 2219.8px, giving you the extra pixel making it 48x49px. If you change this to 2220 or 2219px it will export out as 48x48. This is more than likely the same for the artboard location as well!

If you tick 'Force Pixel Alignment' in the tool bar it will ensure the objects are always pixel aligned avoiding these issues.

 

Share this post


Link to post
Share on other sites

Except this, if you NEED an export with ultra-correct sizes (eg. some apps need its "animation-text" as a vertical stripe, all single-item must have exactly the same size....) all distances has to be the same... you need an invsible shape as placeholder! 

Example: A 10 entry text with a space from 2 point will be as text 98 point. The last "line" will not exported, even as Frame-text. So you need an extra invisible shape to get  the correct 100point! You must export /slice the group (with that placeholder), otherwise you get only the incorrect "frame" of the text. 


OSX 10.13.5  / iMac Retina 27" / AMD Radeon R9 M380 / Metall: on!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

These are the Terms of Use you will be asked to agree to if you join the forum. | 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.